cargo-deny icon indicating copy to clipboard operation
cargo-deny copied to clipboard

Document defaults, e.g. `[advisories]`

Open dvdplm opened this issue 5 years ago • 2 comments

A deny.toml without an [advisories] section will still check the RustSec when running cargo deny check advisories. This is great and the correct behaviour imo, but it would be good to document the default value for all configuration option and afaict it is not.

Thanks! :)

dvdplm avatar Sep 08 '20 09:09 dvdplm

All the configuration defaults are documented in https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html, but yes, it might not be clear that not having the advisories section entirely will use the defaults when you do the check.

Jake-Shadle avatar Sep 08 '20 09:09 Jake-Shadle

Ah I missed that page, my bad. Thanks.

dvdplm avatar Sep 08 '20 10:09 dvdplm