-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathdeny.toml
More file actions
27 lines (24 loc) · 1.35 KB
/
deny.toml
File metadata and controls
27 lines (24 loc) · 1.35 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
# cargo-deny configuration for Lighthouse
# See https://embarkstudios.github.io/cargo-deny/
[bans]
# Allow multiple versions by default. Change this to "warn" to see all multiple versions.
multiple-versions = "allow"
deny = [
{ crate = "ethers", reason = "legacy Ethereum crate, use alloy instead" },
{ crate = "ethereum-types", reason = "legacy Ethereum crate, use alloy-primitives instead" },
{ crate = "protobuf", reason = "use quick-protobuf instead" },
{ crate = "derivative", reason = "use educe or derive_more instead" },
{ crate = "ark-ff", reason = "present in Cargo.lock but not needed by Lighthouse" },
{ crate = "strum", deny-multiple-versions = true, reason = "takes a long time to compile" },
{ crate = "reqwest", deny-multiple-versions = true, reason = "takes a long time to compile" },
{ crate = "aes", deny-multiple-versions = true, reason = "takes a long time to compile" },
{ crate = "sha2", deny-multiple-versions = true, reason = "takes a long time to compile" },
{ crate = "pbkdf2", deny-multiple-versions = true, reason = "takes a long time to compile" },
{ crate = "scrypt", deny-multiple-versions = true, reason = "takes a long time to compile" },
]
[sources]
unknown-registry = "deny"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
[sources.allow-org]
github = ["sigp"]