This section aims to address a few frequently-asked questions whose answers don't quite fit elsewhere in the book.
cargo vet init
automatically exempt all existing dependencies?A key goal of cargo vet
is to make it very easy to go from first learning about the tool to having it running on CI. Having an open-ended task — like auditing one or more crates — on that critical path increases the chance that the developer gets side-tracked and never completes the setup. So the idea is to enable developers to quickly get to a green state, and then use cargo vet suggest
to ratchet down the set of exemptions at their own pace.
cargo crev
?This work was partially inspired by cargo crev
, and borrows some aspects from its design. We are grateful for its existence and the hard work behind it. cargo vet
makes a few design choices that differ from cargo crev
:
cargo vet
is geared towards usage by organizations, and therefore does not separate audits by individual developer. Consequently, it does not have a separate identity and authentication layer.cargo vet
is designed to be run as an enforcement tool for projects to manage (rather than just inspect) their supply chains, and consequently has a number of affordances in this direction.cargo vet
supports recording multiple kinds of audits.Eventually, it could make sense to implement some form of bridging between the two systems.