mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 05:44:44 +00:00
Feature-gate all uses of arbitrary (#8867)
Feature gate all uses of `arbitrary` so it is not compiled during release builds. Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
@@ -8,6 +8,8 @@ edition = { workspace = true }
|
||||
default = []
|
||||
fake_crypto = ["bls/fake_crypto"]
|
||||
arbitrary-fuzz = [
|
||||
"dep:arbitrary",
|
||||
"smallvec/arbitrary",
|
||||
"types/arbitrary-fuzz",
|
||||
"merkle_proof/arbitrary",
|
||||
"ethereum_ssz/arbitrary",
|
||||
@@ -17,7 +19,7 @@ arbitrary-fuzz = [
|
||||
portable = ["bls/supranational-portable"]
|
||||
|
||||
[dependencies]
|
||||
arbitrary = { workspace = true }
|
||||
arbitrary = { workspace = true, optional = true }
|
||||
bls = { workspace = true }
|
||||
educe = { workspace = true }
|
||||
ethereum_hashing = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user