Module cargo_deny::licenses

source ·
Expand description

Configuration and logic for checking crate licenses

cargo deny check licenses

One important aspect that one must always keep in mind when using code from other people is what the licensing of that code is and whether it fits the requirements of your project. Luckily, most of the crates in the Rust ecosystem tend to follow the example set forth by Rust itself, namely dual-license MIT OR Apache-2.0, but of course, that is not always the case.

cargo-deny allows you to ensure that all of your dependencies have license requirements that are satisfied by the licenses you choose to use for your project, and notifies you via warnings or errors if the license requirements for any crate aren’t compatible with your configuration.

Re-exports

pub use cfg::Config;

Modules

Configuration for license checking If a [license] configuration section, cargo-deny will use the default configuration.

Structs

Store used to identify licenses from text files

Enums

Functions