25 releases (6 breaking)

✓ Uses Rust 2018 edition

0.7.0 Jun 25, 2020
0.6.7 May 1, 2020
0.6.6 Feb 25, 2020
0.5.2 Dec 20, 2019
0.2.6 Jul 27, 2019

#15 in Cargo plugins

Download history 348/week @ 2020-03-16 482/week @ 2020-03-23 416/week @ 2020-03-30 271/week @ 2020-04-06 356/week @ 2020-04-13 304/week @ 2020-04-20 402/week @ 2020-04-27 291/week @ 2020-05-04 350/week @ 2020-05-11 399/week @ 2020-05-18 353/week @ 2020-05-25 509/week @ 2020-06-01 619/week @ 2020-06-08 628/week @ 2020-06-15 733/week @ 2020-06-22 426/week @ 2020-06-29

1,805 downloads per month


5.5K SLoC

❌ cargo-deny

Build Status Latest version Docs API Docs SPDX Version Contributor Covenant Embark

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.


cargo install cargo-deny && cargo deny init && cargo deny check


Install cargo-deny

cargo install cargo-deny

# Or, if you're an Arch user
yay -S cargo-deny

Initialize your project

cargo deny init

Check your crates

cargo deny check


The licenses check is used to verify that every crate you use has license terms you find acceptable.

cargo deny check licenses


The bans check is used to deny (or allow) specific crates, as well as detect and handle multiple versions of the same crate.

cargo deny check bans


The advisories check is used to detect issues for crates by looking in an advisory database.

cargo deny check advisories


The sources check ensures crates only come from sources you trust.

cargo deny check sources


We welcome community contributions to this project.

Please read our Contributor Guide for more information on how to get started.


Licensed under either of

at your option.


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.


~443K SLoC