crev-dev / crev-dev/cargo-crev
Do we need the `cargo` dependency?
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 96
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by mapping the current Cargo dependency usage in the cargo-crev repository, then compare the proposed command-line approach using cargo metadata, crates-index, and cargo-lock. Done means determining whether the dependency can be removed while preserving the needed behavior and documenting the decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100