Structs§
- Budget
Check - Result of checking a single budget category
- Budget
Config - Budget configuration with defaults
- Budget
Report - Overall budget report
- Cargo
Metadata - Structures for cargo metadata JSON parsing
- DepCounts
- Dependency counts parsed from a project
- Heavy
Dep - A dependency and how many transitive deps it pulls in
- Resolve
- Resolve
Dep - Resolve
Node
Functions§
- check_
budget - Check all budget categories and produce a report
- count_
deps_ from_ cargo_ toml - Count dependencies from Cargo.toml content
- count_
packages_ from_ lockfile - Count total packages from Cargo.lock content Cargo.lock v3/v4 uses [[package]] entries with name, version, source fields
- find_
heaviest_ deps - Count transitive dependencies for each direct dependency of the root package using cargo metadata resolve graph
- merge_
config - Merge CLI overrides into a config (CLI values take precedence)
- parse_
config_ from_ cargo_ toml - Parse budget config from Cargo.toml content string
- read_
config_ from_ cargo_ toml - Read budget config from Cargo.toml [package.metadata.dep-budget]