cargo-crev icon indicating copy to clipboard operation
cargo-crev copied to clipboard

Do we need the `cargo` dependency?

Open kornelski opened this issue 2 years ago • 1 comments

Should we drop the cargo dependency?

  • It's big and slow to compile.
  • Requires openssl, libgit2.
  • Has high MSRV.
  • 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.

kornelski avatar Sep 13 '23 14:09 kornelski

Yeah, it's probably a good idea.

dpc avatar Sep 13 '23 17:09 dpc