Skip to main content

❌ 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.

Metadata

Release files for cargo-deny 0.14.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for cargo-deny 0.14.2
File
cargo_deny-0.14.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
cargo_deny-0.14.2-py3-none-win32.whl Python 3 none Windows x86-32 Details
cargo_deny-0.14.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
cargo_deny-0.14.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details
cargo_deny-0.14.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
cargo_deny-0.14.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
cargo_deny-0.14.2-py3-none-macosx_10_7_x86_64.whl Python 3 none macOS 10.7+ x86-64 Details

Total release size: 64.5 MB

Release files / cargo_deny-0.14.2-py3-none-win_amd64.whl

Download URL cargo_deny-0.14.2-py3-none-win_amd64.whl
Size 7.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f59f85c8c7f2f2f092992a1f4ff4990321c357a3eee45bd7dc1fcd4dab5da834
BLAKE2b-256 checksum
How to use checksums
487cd2fa4c45e77140c8c4541fbaed6891faa30ab9194feafde6d9201eea9eb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.2.3

Release files / cargo_deny-0.14.2-py3-none-win32.whl

Download URL cargo_deny-0.14.2-py3-none-win32.whl
Size 7.1 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
c0f225a1a29f632f54432d07a2686c4a69c74766634e8142700dc80a24d8d307
BLAKE2b-256 checksum
How to use checksums
08b3842755f0638d58fdcfdf4f35090a99725a760bfee18c3937637c3c675a39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.2.3

Release files / cargo_deny-0.14.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cargo_deny-0.14.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8c883f176071346230b55288dfe1882df5c13e5a73476201ef9b5dcbd90b1664
BLAKE2b-256 checksum
How to use checksums
119c71748651e33aa77331fec63db6808d07d788702b833f2c5299a483e0e68f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.2.3

Release files / cargo_deny-0.14.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL cargo_deny-0.14.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Size 11.3 MB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
c6a0613c45c56193b2b68a5779e3653c0fafa9fef1e2f4cdf634f17b752da83b
BLAKE2b-256 checksum
How to use checksums
468964c599e00165571dc52291081db259871a2773e76963e696a449c306aa6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.2.3

Release files / cargo_deny-0.14.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL cargo_deny-0.14.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 10.6 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
044f2f029890580f0787084a3eb88887b74ae7fb979efac377724817b5943bff
BLAKE2b-256 checksum
How to use checksums
80069060008237559b115f2b7cb0f6d3e51a701df28510406966a10a1ed04663
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.2.3

Release files / cargo_deny-0.14.2-py3-none-macosx_11_0_arm64.whl

Download URL cargo_deny-0.14.2-py3-none-macosx_11_0_arm64.whl
Size 8.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
440880f537e8d003740a1bf9f8a949329c15e24b5bda95a91c1479e2ba081c9c
BLAKE2b-256 checksum
How to use checksums
a49a699b9eac43369b5fa4044aecba64c000871cbac8192674a7ac86a2e9bb6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.2.3

Release files / cargo_deny-0.14.2-py3-none-macosx_10_7_x86_64.whl

Download URL cargo_deny-0.14.2-py3-none-macosx_10_7_x86_64.whl
Size 8.8 MB
Tags Python 3 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
31f8fa6beedd0e0aea025732fe0444b3404669f3ceb180d054008a073886681b
BLAKE2b-256 checksum
How to use checksums
4fc42f77e5b93b299e75d095a81a6b9f6c4815a9e1f30262b1984dc09ee57574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.2.3

Release history Release notifications | RSS feed

This release

0.14.2 This release

7 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page