-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
52 lines (46 loc) · 1.51 KB
/
deny.toml
File metadata and controls
52 lines (46 loc) · 1.51 KB
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
# cargo-deny configuration
# https://embarkstudios.github.io/cargo-deny/
[graph]
# Only audit the dependency graph for the embedded target.
# The host-only xtask crate does not run on the device.
targets = ["thumbv6m-none-eabi"]
# Exclude xtask entirely: it is a host-only build helper that never runs on
# the device and brings in host-only transitive deps (ureq, webpki-roots)
# whose licenses (CDLA-Permissive-2.0) are irrelevant to the firmware.
exclude = ["xtask"]
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
[[advisories.ignore]]
# paste 1.0.15 is flagged as unmaintained (RUSTSEC-2024-0436). It is a
# transitive build-time dependency pulled in by pio-core → pio → embassy-rp
# and cannot be replaced without an upstream change in pio-core. The crate
# itself has no security vulnerability — it is archived due to the author
# considering it complete.
id = "RUSTSEC-2024-0436"
reason = "Transitive dep via pio-core; no security impact. Awaiting upstream migration in pio-core."
[licenses]
allow = [
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
# cc crate
"MPL-2.0",
# managed + smoltcp (transitive deps of embassy-net)
"0BSD",
]
confidence-threshold = 0.8
[bans]
multiple-versions = "warn"
wildcards = "allow"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = [
"https://github.com/embassy-rs/embassy",
"https://github.com/smoltcp-rs/smoltcp",
]