102 lines
2.0 KiB
TOML
102 lines
2.0 KiB
TOML
# 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 = "2024"
|
|
rust-version = "1.85"
|
|
name = "cargo-lock"
|
|
version = "11.1.0"
|
|
build = false
|
|
autolib = 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"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["dependency-tree"]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
cli = [
|
|
"dep:clap",
|
|
"dependency-tree",
|
|
]
|
|
dependency-tree = ["petgraph"]
|
|
|
|
[lib]
|
|
name = "cargo_lock"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "cargo-lock"
|
|
path = "src/main.rs"
|
|
required-features = ["cli"]
|
|
|
|
[[test]]
|
|
name = "lockfile"
|
|
path = "tests/lockfile.rs"
|
|
|
|
[dependencies.clap]
|
|
version = "4"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.petgraph]
|
|
version = "0.8.2"
|
|
optional = true
|
|
|
|
[dependencies.semver]
|
|
version = "1.0.23"
|
|
features = ["serde"]
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = ["serde_derive"]
|
|
|
|
[dependencies.toml]
|
|
version = "1.0"
|
|
|
|
[dependencies.url]
|
|
version = "2"
|
|
|
|
[lints.clippy]
|
|
cloned_instead_of_copied = "warn"
|
|
manual_let_else = "warn"
|
|
or_fun_call = "warn"
|
|
upper_case_acronyms = "warn"
|
|
use_self = "warn"
|
|
|
|
[lints.rust]
|
|
elided_lifetimes_in_paths = "warn"
|
|
trivial_numeric_casts = "warn"
|
|
unnameable_types = "warn"
|
|
unreachable_pub = "warn"
|
|
unused_extern_crates = "warn"
|
|
unused_import_braces = "warn"
|
|
unused_qualifications = "warn"
|