substance

Crates.iosubstance
lib.rssubstance
version0.7.1
created_at2025-06-08 17:07:20.83574+00
updated_at2025-06-30 11:15:21.740787+00
descriptionAnalyze the size composition of binaries by examining symbols and mapping them to crates.
homepage
repositoryhttps://github.com/fasterthanlime/substance
max_upload_size
id1705071
size122,337
Amos Wenger (fasterthanlime)

documentation

README

substance

A Rust library for analyzing the size composition of binaries by examining their symbols and mapping them back to their originating crates.

Supports ELF (Linux, BSD), Mach-O (macOS) and PE (Windows) binaries. Originally derived from cargo-bloat but redesigned as a library.

Attribution

  • Binary analysis: Originally derived from cargo-bloat by RazrFalcon
  • LLVM IR analysis: Inspired by cargo-llvm-lines by dtolnay, which was originally suggested by @eddyb for debugging compiler memory usage and compile times

License

Licensed under the MIT license.

Commit count: 204

cargo fmt