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/
# This section is considered when running `cargo deny check advisories`
[]
# A list of advisory IDs to ignore. Note that ignored advisories will still
# output a note when they are encountered.
= [
# Unmaintained transitive dependencies we can't directly control.
# These will be resolved when upstream crates update their dependencies.
{ = "RUSTSEC-2023-0071", = "proc-macro-error is unmaintained (via diesel), waiting for upstream fix" },
{ = "RUSTSEC-2025-0134", = "rustls-pemfile is unmaintained (via mysql_async), waiting for upstream fix" },
]
# This section is considered when running `cargo deny check licenses`
[]
# List of explicitly allowed licenses
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"CC0-1.0",
"Unicode-DFS-2016",
"Unicode-3.0",
"OpenSSL", # ring crate
"CDLA-Permissive-2.0", # unicode data crates
"MPL-2.0", # commonly used
]
# The confidence threshold for detecting a license from license text.
= 0.8
# Per-crate exceptions for transitive dependencies
= [
{ = ["ISC", "MIT", "OpenSSL"], = "ring" },
{ = ["ISC"], = "webpki" },
]
# This section is considered when running `cargo deny check bans`
[]
# Lint level for when multiple versions of the same crate are detected
= "warn"
# Lint level for when a crate version has been yanked from its source registry
= "allow"
# The graph highlighting used when creating dotgraphs for crates with multiple versions
= "all"
# Deny specific crates
= [
# Use thiserror instead
# { name = "failure" },
]
# Skip specific crate versions for duplicate detection
= []
= []
# This section is considered when running `cargo deny check sources`
[]
# Lint level for crates from unknown registries
= "warn"
# Lint level for crates from unknown git repositories
= "warn"
# List of allowed registries
= ["https://github.com/rust-lang/crates.io-index"]