<div align="center">
# `β cargo-deny`
**Cargo plugin for linting your dependencies**
[![Embark Opensource](https://img.shields.io/badge/embark-open%20source-blueviolet.svg)](https://embark.dev)
[![Embark Discord](https://img.shields.io/badge/discord-ark-%237289da.svg?logo=discord)](https://discord.gg/Fg4u4VX)
[![Crates.io](https://img.shields.io/crates/v/cargo-deny.svg)](https://crates.io/crates/cargo-deny)
[![API Docs](https://docs.rs/cargo-deny/badge.svg)](https://docs.rs/cargo-deny)
[![Docs](https://img.shields.io/badge/The%20Book-π-brightgreen.svg)](https://embarkstudios.github.io/cargo-deny/)
[![Minimum Stable Rust Version](https://img.shields.io/badge/Rust-1.70.0-blue?color=fc8d62&logo=rust)](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html)
[![SPDX Version](https://img.shields.io/badge/SPDX%20Version-3.21-blue.svg)](https://spdx.org/licenses/)
[![dependency status](https://deps.rs/repo/github/EmbarkStudios/cargo-deny/status.svg)](https://deps.rs/repo/github/EmbarkStudios/cargo-deny)
[![Build Status](https://github.com/EmbarkStudios/cargo-deny/workflows/CI/badge.svg)](https://github.com/EmbarkStudios/cargo-deny/actions?workflow=CI)
</div>
See the [book π](https://embarkstudios.github.io/cargo-deny/) for in-depth documentation.
To run on CI as a GitHub Action, see [`cargo-deny-action`](https://github.com/EmbarkStudios/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](https://embarkstudios.github.io/cargo-deny/)
```bash
cargo install --locked cargo-deny && cargo deny init && cargo deny check
```
## Usage
### [Install](https://embarkstudios.github.io/cargo-deny/cli/index.html) 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.
```bash
cargo install --locked cargo-deny
# Or, if you're an Arch user
pacman -S cargo-deny
```
### [Initialize](https://embarkstudios.github.io/cargo-deny/cli/init.html) your project
```bash
cargo deny init
```
### [Check](https://embarkstudios.github.io/cargo-deny/cli/check.html) your crates
```bash
cargo deny check
```
#### [Licenses](https://embarkstudios.github.io/cargo-deny/checks/licenses/index.html)
The licenses check is used to verify that every crate you use has license terms you find acceptable.
```bash
cargo deny check licenses
```
![licenses output](docs/src/output/licenses.svg)
#### [Bans](https://embarkstudios.github.io/cargo-deny/checks/bans/index.html)
The bans check is used to deny (or allow) specific crates, as well as detect and handle multiple versions of the same crate.
```bash
cargo deny check bans
```
![bans output](docs/src/output/bans.svg)
#### [Advisories](https://embarkstudios.github.io/cargo-deny/checks/advisories/index.html)
The advisories check is used to detect issues for crates by looking in an advisory database.
```bash
cargo deny check advisories
```
![advisories output](docs/src/output/advisories.svg)
#### [Sources](https://embarkstudios.github.io/cargo-deny/checks/sources/index.html)
The sources check ensures crates only come from sources you trust.
```bash
cargo deny check sources
```
![sources output](docs/src/output/sources.svg)
## Contributing
[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-v1.4-ff69b4.svg)](CODE_OF_CONDUCT.md)
We welcome community contributions to this project.
Please read our [Contributor Guide](CONTRIBUTING.md) for more information on how to get started.
## License
Licensed under either of
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT license ([LICENSE-MIT](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.
Raw data
{
"_id": null,
"home_page": "https://github.com/EmbarkStudios/cargo-deny",
"name": "cargo-deny",
"maintainer": null,
"docs_url": null,
"requires_python": "",
"maintainer_email": null,
"keywords": "cargo,license,spdx,ci,advisories",
"author": "Embark <opensource@embark-studios.com>, Jake Shadle <jake.shadle@embark-studios.com>",
"author_email": "Embark <opensource@embark-studios.com>, Jake Shadle <jake.shadle@embark-studios.com>",
"download_url": null,
"platform": null,
"description": "<div align=\"center\">\n\n# `\u274c cargo-deny`\n\n**Cargo plugin for linting your dependencies**\n\n[![Embark Opensource](https://img.shields.io/badge/embark-open%20source-blueviolet.svg)](https://embark.dev)\n[![Embark Discord](https://img.shields.io/badge/discord-ark-%237289da.svg?logo=discord)](https://discord.gg/Fg4u4VX)\n[![Crates.io](https://img.shields.io/crates/v/cargo-deny.svg)](https://crates.io/crates/cargo-deny)\n[![API Docs](https://docs.rs/cargo-deny/badge.svg)](https://docs.rs/cargo-deny)\n[![Docs](https://img.shields.io/badge/The%20Book-\ud83d\udcd5-brightgreen.svg)](https://embarkstudios.github.io/cargo-deny/)\n[![Minimum Stable Rust Version](https://img.shields.io/badge/Rust-1.70.0-blue?color=fc8d62&logo=rust)](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html)\n[![SPDX Version](https://img.shields.io/badge/SPDX%20Version-3.21-blue.svg)](https://spdx.org/licenses/)\n[![dependency status](https://deps.rs/repo/github/EmbarkStudios/cargo-deny/status.svg)](https://deps.rs/repo/github/EmbarkStudios/cargo-deny)\n[![Build Status](https://github.com/EmbarkStudios/cargo-deny/workflows/CI/badge.svg)](https://github.com/EmbarkStudios/cargo-deny/actions?workflow=CI)\n\n</div>\n\nSee the [book \ud83d\udcd5](https://embarkstudios.github.io/cargo-deny/) for in-depth documentation.\n\nTo run on CI as a GitHub Action, see [`cargo-deny-action`](https://github.com/EmbarkStudios/cargo-deny-action).\n\n_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\u2019t 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._\n\n## [Quickstart](https://embarkstudios.github.io/cargo-deny/)\n\n```bash\ncargo install --locked cargo-deny && cargo deny init && cargo deny check\n```\n\n## Usage\n\n### [Install](https://embarkstudios.github.io/cargo-deny/cli/index.html) cargo-deny\n\nIf you want to use `cargo-deny` without having `cargo` installed, build `cargo-deny` with the `standalone` feature. This can be useful in Docker Images.\n\n```bash\ncargo install --locked cargo-deny\n\n# Or, if you're an Arch user\npacman -S cargo-deny\n```\n\n### [Initialize](https://embarkstudios.github.io/cargo-deny/cli/init.html) your project\n\n```bash\ncargo deny init\n```\n\n### [Check](https://embarkstudios.github.io/cargo-deny/cli/check.html) your crates\n\n```bash\ncargo deny check\n```\n\n#### [Licenses](https://embarkstudios.github.io/cargo-deny/checks/licenses/index.html)\n\nThe licenses check is used to verify that every crate you use has license terms you find acceptable.\n\n```bash\ncargo deny check licenses\n```\n\n![licenses output](docs/src/output/licenses.svg)\n\n#### [Bans](https://embarkstudios.github.io/cargo-deny/checks/bans/index.html)\n\nThe bans check is used to deny (or allow) specific crates, as well as detect and handle multiple versions of the same crate.\n\n```bash\ncargo deny check bans\n```\n\n![bans output](docs/src/output/bans.svg)\n\n#### [Advisories](https://embarkstudios.github.io/cargo-deny/checks/advisories/index.html)\n\nThe advisories check is used to detect issues for crates by looking in an advisory database.\n\n```bash\ncargo deny check advisories\n```\n\n![advisories output](docs/src/output/advisories.svg)\n\n#### [Sources](https://embarkstudios.github.io/cargo-deny/checks/sources/index.html)\n\nThe sources check ensures crates only come from sources you trust.\n\n```bash\ncargo deny check sources\n```\n\n![sources output](docs/src/output/sources.svg)\n\n## Contributing\n\n[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-v1.4-ff69b4.svg)](CODE_OF_CONDUCT.md)\n\nWe welcome community contributions to this project.\n\nPlease read our [Contributor Guide](CONTRIBUTING.md) for more information on how to get started.\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)\n\nat your option.\n\n### Contribution\n\nUnless 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.\n\n",
"bugtrack_url": null,
"license": "MIT OR Apache-2.0",
"summary": "Cargo plugin to help you manage large dependency graphs",
"version": "0.14.2",
"project_urls": {
"Homepage": "https://github.com/EmbarkStudios/cargo-deny",
"Source Code": "https://github.com/EmbarkStudios/cargo-deny"
},
"split_keywords": [
"cargo",
"license",
"spdx",
"ci",
"advisories"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4fc42f77e5b93b299e75d095a81a6b9f6c4815a9e1f30262b1984dc09ee57574",
"md5": "a6cb47826f2f12fc48b31692a8d307d4",
"sha256": "31f8fa6beedd0e0aea025732fe0444b3404669f3ceb180d054008a073886681b"
},
"downloads": -1,
"filename": "cargo_deny-0.14.2-py3-none-macosx_10_7_x86_64.whl",
"has_sig": false,
"md5_digest": "a6cb47826f2f12fc48b31692a8d307d4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8842812,
"upload_time": "2023-09-04T14:28:36",
"upload_time_iso_8601": "2023-09-04T14:28:36.084534Z",
"url": "https://files.pythonhosted.org/packages/4f/c4/2f77e5b93b299e75d095a81a6b9f6c4815a9e1f30262b1984dc09ee57574/cargo_deny-0.14.2-py3-none-macosx_10_7_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a49a699b9eac43369b5fa4044aecba64c000871cbac8192674a7ac86a2e9bb6c",
"md5": "e0991b67623b2f9d53efcf88cc11e9fe",
"sha256": "440880f537e8d003740a1bf9f8a949329c15e24b5bda95a91c1479e2ba081c9c"
},
"downloads": -1,
"filename": "cargo_deny-0.14.2-py3-none-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "e0991b67623b2f9d53efcf88cc11e9fe",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8390144,
"upload_time": "2023-09-04T14:28:38",
"upload_time_iso_8601": "2023-09-04T14:28:38.791845Z",
"url": "https://files.pythonhosted.org/packages/a4/9a/699b9eac43369b5fa4044aecba64c000871cbac8192674a7ac86a2e9bb6c/cargo_deny-0.14.2-py3-none-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "80069060008237559b115f2b7cb0f6d3e51a701df28510406966a10a1ed04663",
"md5": "87edca83e95845838eecebaa6cdc254b",
"sha256": "044f2f029890580f0787084a3eb88887b74ae7fb979efac377724817b5943bff"
},
"downloads": -1,
"filename": "cargo_deny-0.14.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "87edca83e95845838eecebaa6cdc254b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10587514,
"upload_time": "2023-09-04T14:28:41",
"upload_time_iso_8601": "2023-09-04T14:28:41.545647Z",
"url": "https://files.pythonhosted.org/packages/80/06/9060008237559b115f2b7cb0f6d3e51a701df28510406966a10a1ed04663/cargo_deny-0.14.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "468964c599e00165571dc52291081db259871a2773e76963e696a449c306aa6e",
"md5": "aa31c7bfc7d1b1cfcf54e5a3ee5b4436",
"sha256": "c6a0613c45c56193b2b68a5779e3653c0fafa9fef1e2f4cdf634f17b752da83b"
},
"downloads": -1,
"filename": "cargo_deny-0.14.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl",
"has_sig": false,
"md5_digest": "aa31c7bfc7d1b1cfcf54e5a3ee5b4436",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 11294171,
"upload_time": "2023-09-04T14:28:43",
"upload_time_iso_8601": "2023-09-04T14:28:43.663474Z",
"url": "https://files.pythonhosted.org/packages/46/89/64c599e00165571dc52291081db259871a2773e76963e696a449c306aa6e/cargo_deny-0.14.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "119c71748651e33aa77331fec63db6808d07d788702b833f2c5299a483e0e68f",
"md5": "236dfce57faf178f4746ed588b8d6213",
"sha256": "8c883f176071346230b55288dfe1882df5c13e5a73476201ef9b5dcbd90b1664"
},
"downloads": -1,
"filename": "cargo_deny-0.14.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "236dfce57faf178f4746ed588b8d6213",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10758823,
"upload_time": "2023-09-04T14:28:46",
"upload_time_iso_8601": "2023-09-04T14:28:46.498142Z",
"url": "https://files.pythonhosted.org/packages/11/9c/71748651e33aa77331fec63db6808d07d788702b833f2c5299a483e0e68f/cargo_deny-0.14.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "08b3842755f0638d58fdcfdf4f35090a99725a760bfee18c3937637c3c675a39",
"md5": "012a00fc96b39dc07ae87a8548c9dcec",
"sha256": "c0f225a1a29f632f54432d07a2686c4a69c74766634e8142700dc80a24d8d307"
},
"downloads": -1,
"filename": "cargo_deny-0.14.2-py3-none-win32.whl",
"has_sig": false,
"md5_digest": "012a00fc96b39dc07ae87a8548c9dcec",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7058232,
"upload_time": "2023-09-04T14:28:48",
"upload_time_iso_8601": "2023-09-04T14:28:48.620618Z",
"url": "https://files.pythonhosted.org/packages/08/b3/842755f0638d58fdcfdf4f35090a99725a760bfee18c3937637c3c675a39/cargo_deny-0.14.2-py3-none-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "487cd2fa4c45e77140c8c4541fbaed6891faa30ab9194feafde6d9201eea9eb8",
"md5": "59f4b7385e747c7c43a50d54e9240084",
"sha256": "f59f85c8c7f2f2f092992a1f4ff4990321c357a3eee45bd7dc1fcd4dab5da834"
},
"downloads": -1,
"filename": "cargo_deny-0.14.2-py3-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "59f4b7385e747c7c43a50d54e9240084",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7544777,
"upload_time": "2023-09-04T14:28:50",
"upload_time_iso_8601": "2023-09-04T14:28:50.953666Z",
"url": "https://files.pythonhosted.org/packages/48/7c/d2fa4c45e77140c8c4541fbaed6891faa30ab9194feafde6d9201eea9eb8/cargo_deny-0.14.2-py3-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-04 14:28:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "EmbarkStudios",
"github_project": "cargo-deny",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "cargo-deny"
}