| Crates.io | cargo-deps-list |
| lib.rs | cargo-deps-list |
| version | 2.1.0 |
| created_at | 2022-01-18 13:05:36.322522+00 |
| updated_at | 2024-09-02 17:01:34.407331+00 |
| description | Cargo subcommand to get a list of dependencies in a typical build |
| homepage | https://codeberg.org/alpha-tango-kilo/cargo-deps-list |
| repository | https://codeberg.org/alpha-tango-kilo/cargo-deps-list |
| max_upload_size | |
| id | 516194 |
| size | 42,342 |
The quick-and-dirty successor to cargo-real-deps
Same features, but way simpler, and compiles fast
Born out of my annoyance that cargo doesn't have a way to give you a straight answer about the number of dependencies your project has. Now, it does
It processes the output of cargo tree to get a list of all the unique dependencies, and gives you a count of them.
It is not a sophisticated program lol
Install using Cargo:
cargo install cargo-deps-list
Refer to cargo tree --help, as all cargo-deps-list does is pass your arguments to cargo tree.
Don't provide --prefix or --format though, as that's managed by cargo-deps-list
Recommended use cases:
cargo deps-list - all the dependencies used for everythingcargo deps-list --edges normal - dependencies used in your final binarycargo deps-list --manifest-path=PATH - for checking the dependencies of a project not in your current working directory. PATH must point to a Cargo.toml file