cargo-depsize-1.0.4 is not a library.
cargo-depsize
cargo-depsize is a Rust cargo utility that calculates and displays the total size of each dependency in your Rust project.
Installation
Install cargo-depsize using the following command:
Usage
After installation, simply run the following command in your Rust project directory:
This command will display the size of each dependency package in your Rust project, as well as the total size of all dependencies.
Example Output
Cargo.toml
[]
= "2"
= "3"
= "4"
= "0.6"
= { = "1.0", = ["derive"] }
= "1.0"
= "1.0"
= { = "0.11", = ["json", "blocking"] }
= "0.15"
= "0.4"
= "0.3"
= "0.8"
= "1.4.0"
= "2"
= "0.3"
cargo depsize
- : 120.79KB
- : 768.80KB
- : 71.69KB
- : 1.00MB
: 985.68KB
: 303.00KB
- : 78.91KB
: 29.38KB
: 4.27MB
: 342.29KB
: 690.98KB
: 85.43KB
: 497.03KB
: 305.38KB
: 669.40KB
> : 10.10MB
Dependencies
cargo-depsize is built on top of the following dependencies:
- anyhow - for easy error handling
- cargo - for working with Rust workspaces and packages
- tokio - for asynchronous file metadata retrieval
Contributing
Contributions are welcome! If you have any suggestions or improvements, feel free to create a pull request or open an issue on the repository.
License
cargo-depsize is released under the MIT License.