use-cve
CVE identifier and vulnerability metadata primitives for RustUse.
Experimental
use-cve is experimental while the use-security workspace remains below 0.3.0. Expect small API adjustments during the first release wave.
Example
use ;
let id: CveId = "CVE-2024-12345".parse?;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::
Scope
- CVE ID validation for strings such as
CVE-2024-12345. - Small CVE status, source, reference, and record-kind labels.
- Display and parsing helpers for local metadata models.
Non-goals
- CVE, NVD, GitHub, GitLab, or advisory database access.
- Vulnerability scanning.
- Mirroring CVE records or vulnerability feeds.
License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license