bloat-show
Render cargo bloat JSON as a self-contained, interactive HTML treemap. The page
embeds its data and has no external assets.
use ;
let json = read_to_string?;
let data = from_json_str?;
write?;
# Ok::
Library only — depends on serde and serde_json, nothing else.
For the command line tools see
bloat-show-cli and
cargo-bloat-show.
Credits
Treemap frontend derived from cargo-bloat-treemap by @ttraenkler; its license travels with the vendored file in assets/LICENSE-treemap.
MIT licensed. See LICENSE.