Expand description
§RustSec: Common Vulnerability Scoring System
Rust implementation of the Common Vulnerability Scoring System (Version 3.1 and 4.0) Specification.
§Minimum Supported Rust Version
Rust 1.60 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
§License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.
§Usage
The Cvss type provides a unified interface for working with CVSS
vectors.
The v3::Base type provides the main functionality currently implemented
for CVSS v3, namely: support for parsing, serializing, and scoring
CVSS:3.0 and CVSS:3.1 Base Metric Group vector strings as described in
the CVSS v3.1 Specification.
The v4::Vector type provides a fully-featured implementation of CVSS
v4.0, as described in the CVSS v4.0 Specification.
Serde support is available through the optional serde Cargo feature.
Re-exports§
pub use crate::v3::metric::Metric;pub use crate::v3::metric::MetricType;
Modules§
Enums§
Constants§
- PREFIX
- Prefix used by all CVSS strings