Structs§
- Cargo
Resolver - Cargo
Toml Parser - Parser for Rust Cargo.toml manifest files.
- Rust
Manifest Finder - Rust manifest finder that discovers Cargo.toml files under a directory tree. When patterns are set (FR-006), file names are matched by regex in order; first match wins.
- Rust
TierB Analyzer
Constants§
- RUST_
LOCK_ FILE_ NAME - Rust lock file name paired with
RUST_MANIFEST_NAME. - RUST_
MANIFEST_ NAME - Rust manifest file name (FR-005). Overridden by regexes when set (FR-006).
Functions§
- find_
lock_ file - Find Cargo.lock next to the manifest or in parent dirs up to
scan_root. - parse_
cargo_ lock - Parse Cargo.lock content into a list of packages. Public for fuzzing.
- parse_
cargo_ metadata_ packages - Parse
cargo metadata --format-version 1JSON into packages. Public for fuzzing. - parse_
cargo_ toml - Parse Cargo.toml content into a list of packages from [dependencies], [dev-dependencies], and [build-dependencies]. Public for fuzzing (NFR-020).
- run_
cargo_ metadata - Run
cargo metadatafor the given manifest (absolute path). Uses spawn_blocking.