❌ cargo-deny
cargo-deny
is a cargo plugin for linting your dependencies. See the book 📕 for in-depth documentation.
To run on CI as a GitHub Action, see cargo-deny-action
.
Quickstart
&& &&
Usage
Install cargo-deny
If you want to use cargo-deny
without having cargo
installed,
build cargo-deny
with the `standalone1 feature.
This can be useful in Docker Images.
# Or, if you're an Arch user
Initialize your project
Check your crates
Licenses
The licenses check is used to verify that every crate you use has license terms you find acceptable.
Bans
The bans check is used to deny (or allow) specific crates, as well as detect and handle multiple versions of the same crate.
Advisories
The advisories check is used to detect issues for crates by looking in an advisory database.
Sources
The sources check ensures crates only come from sources you trust.
Contributing
We welcome community contributions to this project.
Please read our Contributor Guide for more information on how to get started.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.