Some functions about CPE and CVE
CVE
Add this to your Cargo.toml:
toml
[dependencies]
nvd = "0.1"
```rust use nvd::cve::*;
initlog(); let pathdir = initdir("./data").await?; let _ = synccve(&pathdir).await?; let _ = makedb(&pathdir).await?; let dblist = loaddb(&pathdir).await?; log::info!("dblist len: {}", dblist.len());
```