cargo-deny – Cargo subcommand for Rust projects

cargo-deny is a Cargo subcommand for Rust projects that helps audit and enforce dependency policy.

It can scan dependency graphs for security advisories, flag banned or duplicate crates, verify that crate licenses match your project’s requirements, and ensure dependencies come from approved sources. It’s useful for developers who want tighter control over supply chain, compliance, and dependency hygiene in local development, CI pipelines, and pre-commit workflows.

This is free and open source software.

Key Features

  • Checks dependencies against advisory databases for known security issues.
  • Lets you allow or deny specific crates and detect multiple versions of the same crate.
  • Verifies that dependency licenses comply with policies you define.
  • Restricts dependencies to trusted registries, git sources, or other approved origins.
  • Integrates with CI workflows, including GitHub Actions and pre-commit hooks.
  • Supports project initialization with a configuration file for repeatable policy checks.

Website: github.com/EmbarkStudios/cargo-deny
Support:
Developer: Embark Studios
License: Apache License 2.0 / MIT License

cargo-deny is written in Rust. Learn Rust with our recommended free books and free tutorials.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted