[][src]Crate cargo_lock

cargo-lock: Self-contained Cargo.lock parser with optional dependency graph analysis.

When the dependency-graph feature of this crate is enabled, it supports computing a directed graph of the dependency tree expressed in the lockfile, modeled using the petgraph crate.

Re-exports

pub use self::error::Error;
pub use self::error::ErrorKind;
pub use self::lockfile::Lockfile;
pub use self::package::Package;
pub use self::dependency_graph::DependencyGraph;

Modules

dependency_graph

Dependency graphs computed from Cargo.lock files.

error

Error types

lockfile

Parser for Cargo.lock files

metadata

Package metadata

package

Rust packages enumerated in Cargo.lock