# 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.73" name = "rustsec" version = "0.30.0" authors = ["Tony Arcieri "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Client library for the RustSec security advisory database" homepage = "https://rustsec.org" readme = "README.md" keywords = [ "audit", "rustsec", "security", "advisory", "vulnerability", ] categories = [ "api-bindings", "development-tools", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/rustsec/rustsec" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "rustsec" path = "src/lib.rs" [[test]] name = "advisories" path = "tests/advisories.rs" [[test]] name = "database" path = "tests/database.rs" [[test]] name = "integration" path = "tests/integration.rs" [[test]] name = "linter" path = "tests/linter.rs" [[test]] name = "query" path = "tests/query.rs" [dependencies.cargo-lock] version = "10.0.1" [dependencies.cvss] version = "2.0.0" features = ["serde"] [dependencies.fs-err] version = "2.11" [dependencies.gix] version = "0.66" features = [ "worktree-mutation", "revision", "max-performance-safe", ] optional = true default-features = false [dependencies.home] version = "0.5" optional = true [dependencies.platforms] version = "3" features = ["serde"] [dependencies.semver] version = "1.0.23" features = ["serde"] [dependencies.serde] version = "1" features = ["serde_derive"] [dependencies.tame-index] version = "0.14" features = [ "git", "sparse", "native-certs", ] optional = true default-features = false [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3" features = [ "formatting", "serde", "parsing", ] optional = true default-features = false [dependencies.toml] version = "0.8" [dependencies.url] version = "2" features = ["serde"] [dev-dependencies.once_cell] version = "1.15.0" [dev-dependencies.serde_json] version = "1" [dev-dependencies.tempfile] version = "3" [features] default = ["git"] dependency-tree = ["cargo-lock/dependency-tree"] git = [ "dep:tame-index", "dep:home", "dep:time", "dep:gix", ] osv-export = ["git"]