Cargo Features

[dependencies]
rustsec = { version = "0.30.1", default-features = false, features = ["git", "dependency-tree", "osv-export", "binary-scanning"] }
default = git

The git feature is set by default whenever rustsec is added without default-features = false somewhere in the dependency tree.

git default osv-export?

Enables gix ^0.66, home, tame-index ^0.14, and time

tame-index:

optional dependencies

Affects rustsec::registry, report::Report.database, report::DatabaseInfo, repository::git

dependency-tree

Enables dependency-tree of cargo-lock

osv-export = git
binary-scanning

Enables auditable-info ^0.8, auditable-serde ^0.7, binfarce, once_cell, and quitters

auditable-info:

for scanning binary files