[dependencies.serde]
optional = true
version = "1"
[features]
default = ["std", "v3", "v4"]
std = []
v3 = []
v4 = []
[lib]
name = "cvss"
path = "src/lib.rs"
[package]
authors = ["Tony Arcieri <bascule@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parser-implementations"]
description = "Common Vulnerability Scoring System parser/serializer"
edition = "2024"
keywords = ["cvssv3", "cvssv4", "security", "advisory", "vulnerability"]
license = "Apache-2.0 OR MIT"
name = "cvss"
readme = "README.md"
repository = "https://github.com/rustsec/rustsec"
resolver = "2"
rust-version = "1.85"
version = "2.2.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "base"
path = "tests/base.rs"
[[test]]
name = "redhat-v3"
path = "tests/redhat-v3.rs"
[[test]]
name = "redhat-v4"
path = "tests/redhat-v4.rs"
[[test]]
name = "uncovered-v4"
path = "tests/uncovered-v4.rs"