osv 0.3.0

Rust library for parsing the OSV schema and client API
Documentation
1
2
3
4
5
6
7
8
use osv::client;

#[tokio::main]
async fn main() -> Result<(), client::ApiError> {
    let vuln = client::vulnerability("GHSA-jfh8-c2jp-5v3q").await?;
    println!("{:#?}", vuln);
    Ok(())
}