Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Make git dependency revisions explicit in Cargo.toml #4283
Tikv has a number of git dependencies. Today the exact revision of those deps is maintained only in the lockfile.
It is more foolproof though to specify git revisions directly in Cargo.toml. If it's not there then the process of updating the lockfile can get unpleasant.
Find all the git deps in all the projects in the workspace and add a "rev = $sha" entry to each.
It may be the case that multiple projects in the workspace have the same git dep. I'm not sure if it's best to specify the revision in one project or all, but I suspect it's more foolproof to do it everywhere, with the hope that if the rev is only updated in one place that the build will fail.