cargo-broomv0.1.0

← All examples

Budget

Total target usage against one budget for the whole tree. Over budget, it names the largest targets; --details lists all of them.

Budget

examples/budget.txt
cargo broom budget ~/code --limit 5MB
cargo-broom Budget — ~/code
 cargo-broom budget

  Total usage: 8.86 MiB   Budget: 5.00 MiBLargest Contributors (5)
  - invoice-cli (2.83 MiB) at ~/code/invoice-cli/target
  - plugin-a (+1 more, shared target) (2.06 MiB) at ~/code/plugins/shared-target
  - blog-engine (1.86 MiB) at ~/code/blog-engine/target
  ... 2 more finding(s) (use --details to view all)

Next steps:
  • Total usage exceeds the budget by 3.86 MiB; review the largest projects above
  • read-only
  • multi-project