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

@@ -6,11 +6,11 @@ edition = { workspace = true }
autotests = false
[features]
arbitrary-fuzz = ["types/arbitrary-fuzz", "eip_3076/arbitrary-fuzz"]
arbitrary-fuzz = ["dep:arbitrary", "types/arbitrary-fuzz", "eip_3076/arbitrary-fuzz"]
portable = ["types/portable"]
[dependencies]
arbitrary = { workspace = true, features = ["derive"] }
arbitrary = { workspace = true, features = ["derive"], optional = true }
bls = { workspace = true }
eip_3076 = { workspace = true, features = ["json"] }
ethereum_serde_utils = { workspace = true }