[go: up one dir, main page]

Module osv

Module osv 

Source
Expand description

Provides support for exporting to the interchange format defined by https://github.com/google/osv

We also use OSV-style ranges for version matching in RustSec crate because it allows handling pre-releases correctly, which semver crate does not allow doing directly.

See https://github.com/dtolnay/semver/issues/172

Structs§

OsvAdvisoryosv-export
Security advisory in the format defined by https://github.com/google/osv
OsvRange
A range of affected versions.

Functions§

ranges_for_advisory
Returns OSV ranges for all affected versions in the given advisory.