Skip to main content

Module parser

Module parser 

Source
Expand description

Parser layer — extracts the full dependency tree from Cargo.toml / Cargo.lock using cargo_metadata for feature-aware resolution.

Structs§

PackageResult
One Cargo package in the workspace (or the resolved root crate) plus its dependency tree.
ResolvedDep
A resolved dependency with its name, version, and enabled features.

Functions§

get_deps
Parse the dependency tree for the project at manifest_path (resolved root crate only).
get_package_snapshots
Load dependency snapshots for workspace members according to Cargo metadata.
get_project_info
Get the root project’s name and version from Cargo metadata.