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