First release of BloatBot 🎉
BloatBot tells you why your Rust binary changed size on a pull request —
attributing the byte delta to specific crates and to your own code — not just that it changed.
What it does
- Builds base and head refs and diffs the binary per crate, ranked by impact.
- Flags newly pulled-in dependencies and explains how they got dragged in
(myapp → config-loader → serde_json) via aCargo.lockdiff +cargo tree --invert. - Splits "your code" from third-party dependencies.
- Posts one sticky PR comment, updated in place on every push.
- Optional
threshold-percentgate fails the check if the binary grows too much.
Usage
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Asuddle/BloatBot@v1
with:
bin: myapp