killercup / killercup/cargo-edit

cargo remove should clean up removed dependencies from the cache

Open
#647 4 comments 0 reactions 0 assignees View on GitHub
cargo-rm
Dominant language
Rust
Stars
3.5k
Forks
166
PR merge metrics
No merged PRs in 30d

Description

After installing cargo-edit I can `cargo add crate_name`, great
But now to remove one, `cargo rm` doesn't seem to delete the crate and its dependencies
![image](https://user-images.githubusercontent.com/40531871/155288781-d5933d66-9655-4240-8e76-afe55cdc1196.png)
Like, there's no logging, there's no progress, did it remove all packages, or just unlinked them?

Also, why `cargo add`
But `cargo rm`

Why cut the word? Put both option at least, the convention for rust is using the whole word, I don't understand why this one is an exception.

Contributor guide

Open the contributing guide

Research direction

Start at the cargo rm command entry point and inspect how dependency removal currently behaves and what output it provides. Clarify whether the requested change covers cache cleanup, progress reporting, command naming, or all three; done should include an agreed behavior for each request.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.