Skip to content

❌ Cargo plugin for linting your dependencies πŸ¦€

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

EmbarkStudios/cargo-deny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

17f4947 Β· Oct 22, 2020
Oct 21, 2020
Oct 21, 2020
Oct 12, 2020
Jan 27, 2020
Oct 22, 2020
Oct 22, 2020
Oct 21, 2020
Feb 5, 2020
Jun 12, 2020
Oct 22, 2020
Jul 9, 2019
Jul 29, 2019
Oct 22, 2020
Oct 22, 2020
May 13, 2019
May 13, 2019
Oct 21, 2020
Sep 29, 2020
Oct 20, 2020
Dec 20, 2019

❌ cargo-deny

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

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

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.

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

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

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.