{"id":29210699,"url":"https://github.com/embarkstudios/cargo-deny","last_synced_at":"2025-07-02T21:07:38.829Z","repository":{"id":34988358,"uuid":"186371129","full_name":"EmbarkStudios/cargo-deny","owner":"EmbarkStudios","description":"❌ Cargo plugin for linting your dependencies 🦀","archived":false,"fork":false,"pushed_at":"2025-05-31T15:14:35.000Z","size":9654,"stargazers_count":1969,"open_issues_count":75,"forks_count":97,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-06-08T22:44:36.585Z","etag":null,"topics":["advisories","bans","cargo","cargo-subcommand","crates","licenses","rust"],"latest_commit_sha":null,"homepage":"http://embark.rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmbarkStudios.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-13T07:50:05.000Z","updated_at":"2025-06-08T10:22:17.000Z","dependencies_parsed_at":"2023-02-16T17:15:46.146Z","dependency_job_id":"996358aa-41dd-4f64-a24d-0d75c3e234ac","html_url":"https://github.com/EmbarkStudios/cargo-deny","commit_stats":{"total_commits":318,"total_committers":42,"mean_commits":7.571428571428571,"dds":"0.21383647798742134","last_synced_commit":"251b7ca1d1abdbb794110682db0e0e7e8c5c6dfa"},"previous_names":[],"tags_count":88,"template":false,"template_full_name":null,"purl":"pkg:github/EmbarkStudios/cargo-deny","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Fcargo-deny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Fcargo-deny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Fcargo-deny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Fcargo-deny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmbarkStudios","download_url":"https://codeload.github.com/EmbarkStudios/cargo-deny/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbarkStudios%2Fcargo-deny/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263215297,"owners_count":23431895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advisories","bans","cargo","cargo-subcommand","crates","licenses","rust"],"created_at":"2025-07-02T21:07:37.743Z","updated_at":"2025-07-02T21:07:38.817Z","avatar_url":"https://github.com/EmbarkStudios.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable no-inline-html first-line-heading no-emphasis-as-heading --\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n# `❌ 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-📕-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\u0026logo=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.25.0-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\u003c/div\u003e\n\nSee the [book 📕](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’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._\n\n## [Quickstart](https://embarkstudios.github.io/cargo-deny/)\n\n```bash\ncargo install --locked cargo-deny \u0026\u0026 cargo deny init \u0026\u0026 cargo deny check\n```\n\n## Usage\n\n\u003ca href=\"https://repology.org/project/cargo-deny/versions\"\u003e\u003cimg align=\"right\" src=\"https://repology.org/badge/vertical-allrepos/cargo-deny.svg\" alt=\"Packaging status\"\u003e\u003c/a\u003e\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### Pre-commit hook\n\nYou can use `cargo-deny` with [pre-commit](https://pre-commit.com). Add it to your local `.pre-commit-config.yaml` as follows:\n\n```yaml\n- repo: https://github.com/EmbarkStudios/cargo-deny\n  rev: 0.14.16 # choose your preferred tag\n  hooks:\n    - id: cargo-deny\n      args: [\"--all-features\", \"check\"] # optionally modify the arguments for cargo-deny (default arguments shown here)\n```\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 \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembarkstudios%2Fcargo-deny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembarkstudios%2Fcargo-deny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembarkstudios%2Fcargo-deny/lists"}