feat: add secp256k1 feature in reth-network-peers (#8712)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Panagiotis Ganelis
2024-06-10 13:46:22 +02:00
committed by GitHub
parent ee7a829a12
commit 8717ed757b
9 changed files with 36 additions and 13 deletions

View File

@ -19,8 +19,8 @@ alloy-rlp = { workspace = true, features = ["derive"] }
enr.workspace = true
# crypto
secp256k1.workspace = true
secp256k1 = { workspace = true, optional = true }
# misc
serde_with.workspace = true
thiserror.workspace = true
@ -32,3 +32,6 @@ alloy-primitives = { workspace = true, features = ["rand"] }
rand.workspace = true
secp256k1 = { workspace = true, features = ["rand"] }
serde_json.workspace = true
[features]
secp256k1 = ["dep:secp256k1"]