# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "cargo-lock" version = "10.0.1" authors = ["Tony Arcieri "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Self-contained Cargo.lock parser with optional dependency graph analysis" homepage = "https://rustsec.org" readme = "README.md" keywords = [ "cargo", "dependency", "lock", "lockfile", ] categories = ["parser-implementations"] license = "Apache-2.0 OR MIT" repository = "https://github.com/rustsec/rustsec" [package.metadata.docs.rs] features = ["dependency-tree"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "cargo_lock" path = "src/lib.rs" [[bin]] name = "cargo-lock" path = "src/bin/cargo-lock/main.rs" required-features = ["cli"] [[test]] name = "lockfile" path = "tests/lockfile.rs" [dependencies.gumdrop] version = "0.8" optional = true [dependencies.petgraph] version = "0.6" optional = true [dependencies.semver] version = "1.0.23" features = ["serde"] [dependencies.serde] version = "1" features = ["serde_derive"] [dependencies.toml] version = "0.8" [dependencies.url] version = "2" [features] cli = [ "gumdrop", "dependency-tree", ] dependency-tree = ["petgraph"]