mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 19:02:42 +00:00
#7330 Removes `c-kzg` from our `kzg` crate and rely fully on the `rust_eth_kzg` crate. This removes the old `Blob` type entirely and instead handles `rust_eth_kzg::KzgBlobRef`s directly which allows us to avoid some extra stack allocations . Similarly, we make `Bytes32` and `Bytes48` type aliases rather than structs as this fits better with the new `rust_eth_kzg` API. Co-Authored-By: Mac L <mjladson@pm.me>
32 lines
1.7 KiB
TOML
32 lines
1.7 KiB
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 = "openssl", reason = "non-Rust dependency, use rustls instead" },
|
|
{ crate = "c-kzg", reason = "non-Rust dependency, use rust_eth_kzg instead" },
|
|
{ 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" },
|
|
{ crate = "syn", deny-multiple-versions = true, reason = "takes a long time to compile" },
|
|
{ crate = "uuid", deny-multiple-versions = true, reason = "dependency hygiene" },
|
|
]
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "warn"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
|
|
[sources.allow-org]
|
|
github = ["sigp"]
|