Keeping up with Cargo's API changes is a chore, especially that there are also behavior changes.
I think we could rely on shelling out to command-line for cargo. Anybody running cargo crev is obviously going to have the cargo binary. A combination of cargo metadata, crates-index, and cargo-lock could be enough.
Should we drop the
cargo
dependency?I think we could rely on shelling out to command-line for
cargo
. Anybody runningcargo crev
is obviously going to have thecargo
binary. A combination ofcargo metadata
,crates-index
, andcargo-lock
could be enough.