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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# cargo-deny configuration
# https://embarkstudios.github.io/cargo-deny/
#
# Run with: cargo deny check
[]
# The database of security advisories
= "~/.cargo/advisory-db"
= ["https://github.com/rustsec/advisory-db"]
# How to handle unmaintained crates
= "warn"
# How to handle yanked crates
= "deny"
# Ignore specific advisories (by RUSTSEC ID)
= []
[]
# Confidence threshold for license detection
= 0.8
# Allow copyleft licenses (we're MIT-compatible)
= "warn"
# Allow these licenses
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"CC0-1.0",
"Unlicense",
"MPL-2.0",
"Zlib",
"Unicode-DFS-2016",
]
# List of explicitly allowed crates (overrides allow list)
= []
[]
# How to handle multiple versions of the same crate
= "warn"
# How to handle wildcard dependencies
= "deny"
# How to handle build script dependencies
= "all"
# Crates to deny entirely
= [
# No known bad crates yet
]
# Crates to skip version duplication warnings
= []
# Tree of crates to skip
= []
[]
# Require all crates come from crates.io
= "deny"
# Require all crates come from crates.io (no git dependencies)
= "warn"
# Allow specific git repositories
= []
# Allow only crates.io as a registry
= ["https://github.com/rust-lang/crates.io-index"]
# Specific source rules for workspace members
[]
# Allow our own organization's crates
= []