-
Notifications
You must be signed in to change notification settings - Fork 629
/
deny.toml
143 lines (114 loc) · 4.83 KB
/
deny.toml
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[graph]
targets = [
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-pc-windows-msvc" },
{ triple = "x86_64-apple-darwin" },
]
[licenses]
version = 2
allow = ["MIT", "Apache-2.0", "Apache-2.0 WITH LLVM-exception"]
confidence-threshold = 0.8
exceptions = []
private = { ignore = false, registries = [] }
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
[bans]
multiple-versions = "deny"
deny = [
# See: https://github.com/rust-random/rand/issues/645
{ name = "rand", version = "<0.6" },
# See: https://github.com/near/nearcore/pull/3595
{ name = "keccak-hash", version = "<0.4.1" },
{ name = "primitive-types", version = "<0.10.1" },
{ name = "uint", version = "<0.8.2" },
# https://github.com/near/nearcore/pull/8562
{ name = "borsh", version = "0.10, <0.10.2" },
]
skip = [
# wasmer 0.17 and wasmtime 0.17 uses older versions of some crates
{ name = "generic-array", version = "=0.12.4" },
# `sha2` uses it
{ name = "cfg-if", version = "=1.0.0" },
# `sha2`, `blake3` and `curve25519-dalek` need to be updated.
{ name = "digest", version = "=0.9.0" },
# Need this specific version of pwasm-utils for backwards-compatible
# stack limiting.
{ name = "pwasm-utils", version = "=0.12.0" },
{ name = "parity-wasm", version = "=0.41.0" },
# old version used by wasmer et al
{ name = "dynasm", version = "=1.2.3" },
{ name = "dynasmrt", version = "=1.2.3" },
# wasmer and wasmtime
{ name = "target-lexicon", version = "=0.10.0" },
{ name = "wasmparser", version = "=0.51.4" },
{ name = "wasmparser", version = "=0.78.2" },
{ name = "wasmparser", version = "=0.84.0" },
{ name = "wasmparser", version = "=0.99.0" },
{ name = "wasmparser", version = "=0.105.0" },
{ name = "wasm-encoder", version = "=0.27.0" },
{ name = "object", version = "=0.30.4" },
{ name = "memoffset", version = "=0.6.5" },
{ name = "memoffset", version = "=0.8.0" },
{ name = "addr2line", version = "=0.19.0" },
{ name = "gimli", version = "=0.27.2" },
# wasmer 0.17.x
{ name = "parking_lot", version = "=0.10.2" },
{ name = "parking_lot_core", version = "=0.7.2" },
{ name = "lock_api", version = "=0.3.4" },
{ name = "digest", version = "=0.8.1" },
# wasmer 0.18
{ name = "nix", version = "=0.15.0" },
# many crates haven't updated to syn 2.0 yet.
{ name = "syn", version = "=1.0.103" },
# old version of tokio, parking_lot
{ name = "windows-sys", version = "=0.36.1" },
# console
{ name = "windows-sys", version = "=0.42.0" },
{ name = "windows_x86_64_msvc", version = "=0.36.1" },
# old version of rustix, wasmtime, is-terminal, etc.
{ name = "windows-sys", version = "=0.42.0" },
{ name = "windows_x86_64_msvc", version = "=0.42.2" },
# ed25519-dalek uses older versions of rand and rand_core
{ name = "rand_core", version = "=0.5.1" },
{ name = "getrandom", version = "=0.1.16" },
# criterion and criterion-plot use conflicting versions
{ name = "semver-parser", version = "=0.7.0" },
{ name = "semver", version = "=0.9.0" },
# blake3 (through wasmer0) uses an older version
{ name = "arrayvec", version = "=0.5.2" },
# criterion and wasmer-runtime-core-near depend on this older
# version of the crate.
{ name = "rustc_version", version = "=0.2.3" },
{ name = "errno", version = "=0.2.8" },
# Bolero requires a newer version and the rest of the ecosystem hasn't caught up yet.
{ name = "hashbrown", version = "0.12.0" },
{ name = "hashbrown", version = "0.13.2" },
{ name = "bitflags", version = "=1.3.2" },
{ name = "indexmap", version = "=1.9.2" },
# prometheus depends on an old version of protobuf
{ name = "protobuf", version = "=2.27.1" },
# rust-s3 is using an old version of smartstring
{ name = "smartstring", version = "=0.2.10" },
# near-test-contracts
{ name = "wasm-encoder", version = "=0.11.0" },
# Various packages haven’t upgraded to 0.base64 21 yet.
{ name = "base64", version = "=0.13.0" },
{ name = "ahash", version = "=0.7.8" },
# actix-http hasn't upgraded iminz_oxide/flate2 yet.
{ name = "miniz_oxide", version = "=0.5.1" },
# cloud-storage
{ name = "base64", version = "=0.12.3" },
{ name = "num-bigint", version = "=0.2.6" },
# Everything depends on this...
{ name = "lru", version = "=0.7.8" },
# reed-solomon-erasure latest version
{ name = "parking_lot", version = "=0.11.2" },
{ name = "parking_lot_core", version = "=0.8.6" },
{ name = "spin", version = "=0.9.8" },
# ecosystem migration to 2.0 is in early phases at the time of writing.
{ name = "thiserror", version = "<2.0" },
{ name = "thiserror-impl", version = "<2.0" },
]