1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# deny.toml — cargo-deny configuration
# Docs: https://embarkstudios.github.io/cargo-deny/
[]
# The targets to check against (empty = all platforms).
= []
[]
# Deny crates with known security vulnerabilities from the RustSec advisory database.
= 2
= []
[]
= 2
# Deny any crate that does not match the allow list below.
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"MPL-2.0",
]
[]
# Warn on multiple versions of the same crate (prefer deduplication but don't hard-fail).
= "warn"
# Deny wildcard dependencies (e.g. `foo = "*"`).
= "deny"
[]
# Only allow crates from crates.io; reject crates from unknown registries or
# git sources in CI. (Local `path` dependencies are not governed by these keys.)
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]