-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdeny.toml
More file actions
36 lines (33 loc) · 870 Bytes
/
deny.toml
File metadata and controls
36 lines (33 loc) · 870 Bytes
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
[advisories]
# Ignore advisories that are either not relevant to macOS build or acceptable transients
ignore = [
{ id = "RUSTSEC-2024-0436" },
{ id = "RUSTSEC-2024-0429" }, # glib unsound VariantStrIter (GTK3 path, not used on macOS)
]
unmaintained = "workspace"
[bans]
# Warn on multiple versions of the same crate
multiple-versions = "warn"
[sources]
# Only allow crates.io (strictest security/reproducibility)
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# Block all git dependencies (ensures reproducible builds)
allow-git = []
[licenses]
# Allow common open source licenses
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"0BSD",
"ISC",
"MPL-2.0",
"Unlicense",
"BSL-1.0",
"Zlib",
"Unicode-3.0",
"CDLA-Permissive-2.0",
"NCSA",
]