[package]
name = "rustsec"
description = "Client library for the RustSec security advisory database"
version = "0.22.0-pre2"
authors = ["Tony Arcieri <bascule@gmail.com>"]
license = "Apache-2.0 OR MIT"
homepage = "https://rustsec.org"
repository = "https://github.com/rustsec/rustsec-crate/"
readme = "README.md"
categories = ["api-bindings", "development-tools"]
keywords = ["audit", "rustsec", "security", "advisory", "vulnerability"]
edition = "2018"
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
cargo-lock = { version = "5", default-features = false }
chrono = { version = "0.4", features = ["serde"] }
comrak = { version = "0.8", optional = true, default-features = false }
crates-index = { version = "0.16.0", optional = true }
cvss = { version = "1", features = ["serde"] }
fs-err = "2.5"
git2 = { version = "0.13", optional = true }
home = { version = "0.5", optional = true }
platforms = { version = "1", features = ["serde"] }
semver = { version = "0.10", features = ["serde"] }
serde = { version = "1", features = ["serde_derive"] }
smol_str = "=0.1.16"
thiserror = "1"
toml = "0.5"
[dependencies.cargo-edit]
version = "0.6"
optional = true
default-features = false
features = ["upgrade"]
[dev-dependencies]
tempfile = "3"
once_cell = "1.3.0"
[features]
default = ["fetch"]
fetch = ["crates-index", "git2", "home"]
fix = ["cargo-edit"]
markdown = ["comrak"]
dependency-tree = ["cargo-lock/dependency-tree"]
vendored-openssl = ["git2/vendored-openssl"]
[package.metadata.docs.rs]
all-features = true