Struct rustsec::db::AdvisoryDatabase[][src]

pub struct AdvisoryDatabase { /* fields omitted */ }

A collection of security advisories, indexed both by ID and crate

Methods

impl AdvisoryDatabase
[src]

Fetch the default advisory database from GitHub

Create a new AdvisoryDatabase from the given Repository

Look up an advisory by an advisory ID (e.g. "RUSTSEC-YYYY-XXXX")

Look up advisories relevant to a particular crate

Find advisories that are unpatched and impact a given crate and version

Return a collection of vulnerabilities for the given lockfile

Important traits for Iter<'a>

Iterate over all of the advisories in the database

Trait Implementations

impl Debug for AdvisoryDatabase
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations