Migrate to cargo