Skip to main content

Cargo plugin to help you manage large dependency graphs

Project description

❌ cargo-deny

Cargo plugin for linting your dependencies

Embark Opensource Embark Discord Crates.io API Docs Docs Minimum Stable Rust Version SPDX Version dependency status Build Status

See the book 📕 for in-depth documentation.

To run on CI as a GitHub Action, see cargo-deny-action.

Please Note: This is a tool that we use (and like!) and it makes sense to us to release it as open source. However, we can’t take any responsibility for your use of the tool, if it will function correctly or fulfil your needs. No functionality in - or information provided by - cargo-deny constitutes legal advice.

Quickstart

cargo install --locked 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 standalone feature. This can be useful in Docker Images.

cargo install --locked cargo-deny

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

Initialize your project

cargo deny init

Check your crates

cargo deny check

Licenses

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

cargo deny check licenses

licenses output

Bans

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

bans output

Advisories

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

cargo deny check advisories

advisories output

Sources

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

cargo deny check sources

sources output

Contributing

Contributor Covenant

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

cargo_deny-0.13.9-py3-none-win_amd64.whl (4.2 MB view details)

Uploaded Python 3 Windows x86-64

cargo_deny-0.13.9-py3-none-win32.whl (3.9 MB view details)

Uploaded Python 3 Windows x86

cargo_deny-0.13.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

cargo_deny-0.13.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (7.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ i686

cargo_deny-0.13.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

cargo_deny-0.13.9-py3-none-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

cargo_deny-0.13.9-py3-none-macosx_10_7_x86_64.whl (5.4 MB view details)

Uploaded Python 3 macOS 10.7+ x86-64

File details

Details for the file cargo_deny-0.13.9-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for cargo_deny-0.13.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e0603b112e5e5bfb6ecee99529754fe8ce915da2eef3f4fda6c421d01815d5f7
MD5 2e019a7c9f2d416dc1673e994f969849
BLAKE2b-256 1314c34b0c8ad28c89dcf02267b7f9f5385f9edc5c743617ceccaa74863d99e1

See more details on using hashes here.

File details

Details for the file cargo_deny-0.13.9-py3-none-win32.whl.

File metadata

File hashes

Hashes for cargo_deny-0.13.9-py3-none-win32.whl
Algorithm Hash digest
SHA256 dc85a0e226904e279ddf6f1b940f3af69ddfdbe6d801ff4522133c2103feda23
MD5 806fe08ca99f800c260d19a977704696
BLAKE2b-256 6ee15917292d9db88f6b2ec6aad05992297379e0c26ed566aebf9a064f09d7db

See more details on using hashes here.

File details

Details for the file cargo_deny-0.13.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cargo_deny-0.13.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 531c90eee209bd01fc29420f7eef8ec155da4ebb9a9b15f10ba6bb802b6fbb80
MD5 b526f35b09c58e6cdd0559022ef0aff1
BLAKE2b-256 7d1eb9ffac33884afae62afdba82086b96621ad053e855f0d4a7e50b74914b75

See more details on using hashes here.

File details

Details for the file cargo_deny-0.13.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for cargo_deny-0.13.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 d157e6db09e27e4a376dee111aec1c5b711125985a792e64f187624a9c9d4113
MD5 23a82e82e5b92cccd51d284c334e4342
BLAKE2b-256 60e0e4b61739e9479aa255179a200850a84f6abecad2d19641d36021e41fe37c

See more details on using hashes here.

File details

Details for the file cargo_deny-0.13.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cargo_deny-0.13.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cd87fad54a4b949c5171fc61f9b394b452031ee2c549443b9fb8a8974aaa412d
MD5 8fede8a440fbdae06814e2ee561ff942
BLAKE2b-256 27900c51809bf1c651ea80ff6cb54d11f7585cf5a2ce1e902b56fd22f9480f43

See more details on using hashes here.

File details

Details for the file cargo_deny-0.13.9-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cargo_deny-0.13.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c4ad2b5ad671daf029111d62a3314e5e64ba87c488ea2391c868160fd871621
MD5 c0675a0835bee7d0367a8712576ff397
BLAKE2b-256 0410885964127e1ca612c68a5a8a2be6d572299f7a0d370abbe28f87a20a92bf

See more details on using hashes here.

File details

Details for the file cargo_deny-0.13.9-py3-none-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for cargo_deny-0.13.9-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 8ae6ef18c6e0be601baf9ec0c418872a938996d9afda9130ce223c1fe66e0cb0
MD5 932cf94f9420bf8df74a3209498fb907
BLAKE2b-256 61fe00dff4af4b02130a4d63743019ad96206a9106f4d485317a928b204691a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page