#size #type #nightly

app print-type-sizes

Print the sizes of all types used in a rust project

1 unstable release

0.1.0 Dec 9, 2019

#94 in #nightly

GPL-3.0-only

25KB
130 lines

print-type-sizes

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

Dependencies

~49MB
~1M SLoC