Struct rustsec::AdvisoryDatabase [] [src]

pub struct AdvisoryDatabase { /* fields omitted */ }

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

Methods

impl AdvisoryDatabase
[src]

Fetch the advisory database from the server where it is stored

Parse the advisory database from a TOML serialization of it

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

Iterate over all of the advisories in the database

Trait Implementations

impl Debug for AdvisoryDatabase
[src]

Formats the value using the given formatter.