Skip to content

Commit 472e1c3

Browse files
committed
fix: Add back the deny.toml file
1 parent c86dfdb commit 472e1c3

1 file changed

Lines changed: 57 additions & 0 deletions

File tree

deny.toml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Configuration used for dependency checking with cargo-deny.
2+
#
3+
# For further details on all configuration options see:
4+
# https://embarkstudios.github.io/cargo-deny/checks/cfg.html
5+
6+
[graph]
7+
targets = [
8+
{ triple = "x86_64-unknown-linux-gnu" },
9+
{ triple = "x86_64-apple-darwin" },
10+
{ triple = "x86_64-pc-windows-msvc" },
11+
{ triple = "aarch64-apple-darwin" },
12+
{ triple = "wasm32-unknown-unknown" },
13+
]
14+
15+
[advisories]
16+
yanked = "deny"
17+
18+
ignore = [
19+
"RUSTSEC-2021-0127", # serde_cbor
20+
"RUSTSEC-2023-0071", # rsa Marvin Attack: (https://jira.corp.adobe.com/browse/CAI-5104)
21+
"RUSTSEC-2024-0384", # instant (https://github.com/contentauth/c2pa-rs/issues/663)
22+
"RUSTSEC-2024-0399", # tokio-rustls server: https://rustsec.org/advisories/RUSTSEC-2024-0399
23+
"RUSTSEC-2024-0436", # paste (uniffi update soon) https://rustsec.org/advisories/RUSTSEC-2024-0436"
24+
]
25+
26+
[bans]
27+
multiple-versions = "allow"
28+
29+
[licenses]
30+
allow = [
31+
"Apache-2.0",
32+
"BSD-2-Clause",
33+
"BSD-3-Clause",
34+
"CC0-1.0",
35+
"ISC",
36+
"LicenseRef-ring",
37+
"MIT",
38+
"MPL-2.0",
39+
"Unicode-DFS-2016",
40+
"Unicode-3.0",
41+
"Zlib",
42+
"CDLA-Permissive-2.0",
43+
]
44+
confidence-threshold = 0.9
45+
46+
[[licenses.clarify]]
47+
name = "ring"
48+
expression = "LicenseRef-ring"
49+
license-files = [
50+
{ path = "LICENSE", hash = 3171872035 }
51+
]
52+
53+
[sources]
54+
unknown-registry = "deny"
55+
unknown-git = "deny"
56+
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
57+
allow-git = []

0 commit comments

Comments
 (0)