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
# cargo-deny configuration — see https://embarkstudios.github.io/cargo-deny/
#
# Run locally with:
# nix run nixpkgs#cargo-deny -- check
#
# Or via the `cargo install cargo-deny && cargo deny check` path.
[]
# Opt in to the RustSec advisory database.
= ["https://github.com/rustsec/advisory-db"]
# Treat yanked crates as warnings (not errors) so a stale Cargo.lock does not
# block CI; release promotions should require a fresh `cargo update`.
= "warn"
# Require explicit reasoning for ignore entries — list them with the advisory
# ID and a brief reason.
= []
[]
# Allow these licenses unconditionally. Apache-2.0 and MIT cover the bulk of
# the dependency tree; the others cover transitive deps that show up.
= [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"MIT",
"MIT-0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"Unicode-3.0",
"Zlib",
"CC0-1.0",
]
# Deny everything not listed above.
= 0.93
[]
# Allow multiple versions of a crate (cargo's resolver does this in practice
# for transitive deps; forbidding it is rarely worth the churn).
= "warn"
# Deny explicitly-banned crates.
= [
# Add crates that should never appear here. Examples of crates this project
# would ban on sight: none currently, but the field is here for future use.
]
# Warn on wildcard dependencies (`dep = "*"`); the Cargo.toml uses caret
# requirements, so this should always pass.
= "warn"
[]
# Allow git sources but require them to be in this allow-list (none today).
= []
# Allow the crates.io index URL.
= ["https://github.com/rust-lang/crates.io-index"]
# Deny any registry other than crates.io.
= "deny"
# Deny any git source not listed above.
= "deny"