Skip to content

Commit

Permalink
add usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Mar 16, 2024
1 parent 7da1f8d commit ed17b22
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Detect and remove unused dependencies from `Cargo.toml` in Rust projects.

## Usage

```bash
cargo install cargo-shear
cargo shear
```


## Technique

1. use the `cargo_metadata` crate to list all dependencies specified in `[workspace.dependencies]` and `[dependencies]`
Expand Down

0 comments on commit ed17b22

Please sign in to comment.