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:
Mac L
2026-02-19 23:32:46 +04:00
committed by GitHub
parent 2d91009ab4
commit 9cb72100d4
9 changed files with 22 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ authors = ["Paul Hauner <paul@paulhauner.com>"]
edition = { workspace = true }
[features]
arbitrary = []
arbitrary = ["dep:arbitrary"]
default = ["supranational"]
fake_crypto = []
supranational = ["blst"]
@@ -14,7 +14,7 @@ supranational-force-adx = ["supranational", "blst/force-adx"]
[dependencies]
alloy-primitives = { workspace = true }
arbitrary = { workspace = true }
arbitrary = { workspace = true, optional = true }
blst = { version = "0.3.3", optional = true }
ethereum_hashing = { workspace = true }
ethereum_serde_utils = { workspace = true }