Simplifications for ./crypto (#4677)

This commit is contained in:
Michael Sproul
2023-09-06 07:22:43 +10:00
committed by GitHub
parent 2550170337
commit 13606533b5
7 changed files with 30 additions and 67 deletions

View File

@@ -18,9 +18,9 @@ hex = "0.4.2"
ethereum_hashing = "1.0.0-beta.2"
c-kzg = { git = "https://github.com/ethereum/c-kzg-4844", rev = "fa3c62989527073fdce8b2138bb27a52bb2407c5" , features = ["mainnet-spec"]}
c_kzg_min = { package = "c-kzg", git = "https://github.com/ethereum//c-kzg-4844", rev = "fa3c62989527073fdce8b2138bb27a52bb2407c5", features = ["minimal-spec"], optional = true }
arbitrary = { version = "1.0", features = ["derive"], optional = true }
arbitrary = { version = "1.0", features = ["derive"] }
[features]
# TODO(deneb): enabled by default for convenience, would need more cfg magic to disable
default = ["c_kzg_min"]
minimal-spec = ["c_kzg_min"]
minimal-spec = ["c_kzg_min"]