Awesome Reviewers

Verification · Supply chain · Dependency audit

License policy

Allow or deny dependencies by license.

How to build it

  1. Write an allow list of licenses in the policy file.
  2. Deny any dependency whose license is not on the list and fail the check.
  3. Run the license check on every dependency change.

Signals in a repository

  • A deny.toml with a [licenses] section listing allowed licenses.
  • A dependency-review step configured with allowed or denied license values.

In practice

31 repositories run a tool for this check in the scanned set.

  • cargo-deny · 19 repos
  • dependency-review · 12 repos

Examples