mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(primitives): k256 crate fallback for secp256k1 module (#9989)
This commit is contained in:
@ -33,7 +33,8 @@ secp256k1 = { workspace = true, features = [
|
||||
"global-context",
|
||||
"recovery",
|
||||
"rand",
|
||||
] }
|
||||
], optional = true }
|
||||
k256.workspace = true
|
||||
# for eip-4844
|
||||
c-kzg = { workspace = true, features = ["serde"], optional = true }
|
||||
|
||||
@ -81,10 +82,9 @@ pprof = { workspace = true, features = [
|
||||
"frame-pointer",
|
||||
"criterion",
|
||||
] }
|
||||
secp256k1.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["c-kzg", "alloy-compat", "std", "reth-codec"]
|
||||
default = ["c-kzg", "alloy-compat", "std", "reth-codec", "secp256k1"]
|
||||
std = ["thiserror-no-std?/std", "reth-primitives-traits/std"]
|
||||
reth-codec = ["dep:reth-codecs", "dep:zstd", "dep:modular-bitfield"]
|
||||
asm-keccak = ["alloy-primitives/asm-keccak"]
|
||||
@ -100,6 +100,7 @@ arbitrary = [
|
||||
"dep:proptest",
|
||||
"reth-codec",
|
||||
]
|
||||
secp256k1 = ["dep:secp256k1"]
|
||||
c-kzg = ["dep:c-kzg", "revm-primitives/c-kzg", "dep:tempfile", "alloy-eips/kzg", "dep:thiserror-no-std"]
|
||||
optimism = [
|
||||
"reth-chainspec/optimism",
|
||||
|
||||
Reference in New Issue
Block a user