mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
A few `cargo-deny` tweaks with @macladson Co-authored-by: Mac L <mjladson@pm.me> Co-Authored-By: Michael Sproul <michael@sigmaprime.io> Co-Authored-By: Mac L <mjladson@pm.me>
24 lines
995 B
TOML
24 lines
995 B
TOML
# 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" }
|
|
]
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "warn"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
|
|
[sources.allow-org]
|
|
github = ["sigp"]
|