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