/print-type-sizes

Print sorted type sizes for a rust project

Primary LanguageRustGNU General Public License v3.0GPL-3.0

print-type-sizes

Latest release on crates.io

Print the size of all types in use by a rust project. Rust nightly is required.

How to use

# Use nightly channel
rustup default nightly
# Install this crate
cargo install print-type-sizes
# Move to the root of your Rust project (where Cargo.toml is)
cd /my/rust/project
# Print the size of all types
print-type-sizes