Cargo Features

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

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

git gix-curl? gix-reqwest osv-export?

Enables gix ^0.78, home, tame-index, and time

tame-index:

optional dependencies

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

gix-reqwest default = git

Exactly one of 'gix-reqwest' or 'gix-curl' must be enabled when using the 'git' feature.

Enables blocking-http…reqwest-rust-tls of gix ^0.78

gix-curl = git

Enables blocking-http-transport-curl of gix ^0.78

gix:

Stacks with blocking-network-client to provide support for HTTP/S using curl, and implies blocking networking as a whole, making the https:// transport available.

dependency-tree

Enables dependency-tree of cargo-lock

osv-export = git
binary-scanning

Enables auditable-info, auditable-serde, binfarce, once_cell, and quitters

auditable-info:

for scanning binary files