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
# cargo-deny configuration — CRA supply chain policy
#
# Run: cargo deny check
# CI: cargo deny check advisories licenses sources
[]
= true
[]
# Deny any crate with a known security advisory
= "~/.cargo/advisory-db"
[]
# Permissive licenses only — no copyleft in the dependency tree
= [
"MIT",
"Apache-2.0",
"Unicode-3.0",
]
[]
# No duplicate versions of critical crates
= "warn"
= "deny"
# Known-accepted transitive duplicates.
= [
# serde_derive 1.0.229 and thiserror-impl 2.0.19 (proc-macros) started
# pulling syn 3.0 while the rest of the tree stays on syn 2.0. Compile-time
# only, not linked into runtime. Revisit when the older proc-macros catch
# up to syn 3.
{ = "syn@3.0.0", = "proc-macro-only transitive from serde_derive/thiserror-impl; runtime tree stays on syn 2" },
]
[]
# Only allow crates from crates.io
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]
= []