[go: up one dir, main page]

cargo_deny::licenses

Module cfg

Source
Expand description

Configuration for license checking

Structs§

  • Some crates have complicated LICENSE files that eg contain multiple license texts in a single file, or are otherwise sufficiently different from the canonical license text that the confidence level cargo-deny can attribute to them falls below the confidence-threshold you want generally across all license texts. Clarifications allow you to manually assign the SPDX expression to use for a particular crate as well as 1 or more file sources used as the ground truth for that expression. If the files change in a future version of the crate, the clarification will be ignored and the crate will be checked as normal.
  • Top level configuration for the a license check
  • An exception is a way for 1 or more licenses to be allowed only for a particular crate.
  • The path and hash of a LICENSE file
  • Configures how private crates are handled and detected

Enums§

Functions§