forked from 0xMiden/miden-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
79 lines (74 loc) · 2.28 KB
/
deny.toml
File metadata and controls
79 lines (74 loc) · 2.28 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# cargo-deny configuration for Miden VM workspace
# Graph configuration
[graph]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
]
# Advisory database configuration
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "warn"
ignore = [
"RUSTSEC-2024-0436", # paste is unmaintained but no alternative available
"RUSTSEC-2025-0141", # bincode is unmaintained, replace with wincode (#2550)
]
# License configuration
[licenses]
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
"ISC",
"Zlib",
"Unicode-3.0",
]
exceptions = [
# Each entry is the crate and version constraint, and its specific allowed licenses
#{ allow = ["Zlib"], name = "adler32", version = "*" },
]
# Bans configuration
[bans]
multiple-versions = "deny"
wildcards = "allow"
highlight = "all"
allow = [
#{ name = "ansi_term", version = "=0.11.0" },
]
deny = [
#{ name = "ansi_term", version = "=0.11.0" },
]
skip = [
# Allow duplicate spin versions - transitively pulled by p3-dft and flume
{ name = "spin" },
# Allow duplicate rand versions - miden-field uses 0.10, miden-vm uses 0.9
{ name = "rand" },
{ name = "rand_core" },
]
skip-tree = [
# Allow getrandom v0.2.x for now - will be phased out with nanorand
{ name = "getrandom", version = "=0.2.17" },
# Allow rand_core v0.6.x for now - legacy dependency
{ name = "rand_core", version = "=0.6.4" },
# Allow rustc_version v0.2.x - build dependency
{ name = "rustc_version", version = "=0.2.3" },
# Allow unicode-width v0.1.x - miden-miette vs miden-formatting conflict (complex to fix)
{ name = "unicode-width", version = "=0.1.14" },
# Allow windows-sys v0.59.x - multiple Windows system libraries (hard to converge)
{ name = "windows-sys", version = "=0.59.0" },
# Allow syn v1.x and v2.x - our derive macros need v1.x while ecosystem uses v2.x
{ name = "syn", version = "=1.0.109" },
{ name = "syn", version = "=2.0.114" },
]
# Sources configuration
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []