Skip to main content

Crate vlz_rust

Crate vlz_rust 

Source

Structs§

CargoResolver
CargoTomlParser
Parser for Rust Cargo.toml manifest files.
RustManifestFinder
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.
RustTierBAnalyzer

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 1 JSON 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 metadata for the given manifest (absolute path). Uses spawn_blocking.