Expand description
Configuration for license checking
Structs§
- Clarification
- 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-thresholdyou 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. - Config
- Top level configuration for the a license check
- Exception
- An exception is a way for 1 or more licenses to be allowed only for a particular crate.
- File
Source - The path and hash of a LICENSE file
- Licensee
- Private
- Configures how private crates are handled and detected
Enums§
- Blanket
Agreement - Allows agreement of licensing terms based on whether the license is OSI Approved or considered free by the FSF