mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(discv5): add crate for interfacing reth network and sigp/discv5 (#7336)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
45
crates/net/discv5/Cargo.toml
Normal file
45
crates/net/discv5/Cargo.toml
Normal file
@ -0,0 +1,45 @@
|
||||
[package]
|
||||
name = "reth-discv5"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Ethereum peer discovery V5"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-primitives.workspace = true
|
||||
reth-metrics.workspace = true
|
||||
|
||||
# ethereum
|
||||
alloy-rlp.workspace = true
|
||||
rlp = "0.5.2"
|
||||
discv5 = { workspace = true, features = ["libp2p"] }
|
||||
enr = { workspace = true, default-features = false, features = ["rust-secp256k1"] }
|
||||
multiaddr = { version = "0.18", default-features = false }
|
||||
libp2p-identity = "0.2"
|
||||
secp256k1.workspace = true
|
||||
|
||||
# async/futures
|
||||
tokio.workspace = true
|
||||
futures.workspace = true
|
||||
|
||||
# io
|
||||
rand.workspace = true
|
||||
|
||||
# misc
|
||||
derive_more.workspace = true
|
||||
tracing.workspace = true
|
||||
thiserror.workspace = true
|
||||
itertools.workspace = true
|
||||
metrics.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
reth-tracing.workspace = true
|
||||
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
||||
secp256k1 = { workspace = true, features = ["rand-std"] }
|
||||
Reference in New Issue
Block a user