mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[package]
|
|
name = "reth-discv4"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
description = """
|
|
Ethereum network discovery
|
|
"""
|
|
|
|
[dependencies]
|
|
# reth
|
|
reth-primitives = { workspace = true }
|
|
reth-rlp = { workspace = true }
|
|
reth-rlp-derive = { path = "../../rlp/rlp-derive" }
|
|
reth-net-common = { path = "../common" }
|
|
reth-net-nat = { path = "../nat" }
|
|
|
|
# ethereum
|
|
discv5 = { git = "https://github.com/sigp/discv5" }
|
|
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery", "serde"] }
|
|
enr = { version = "0.8.1", default-features = false, features = ["rust-secp256k1"] }
|
|
|
|
# async/futures
|
|
tokio = { workspace = true, features = ["io-util", "net", "time"] }
|
|
tokio-stream = { workspace = true }
|
|
|
|
# misc
|
|
tracing = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
hex = "0.4"
|
|
rand = { workspace = true, optional = true }
|
|
generic-array = "0.14"
|
|
serde = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
rand = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros"] }
|
|
reth-tracing = { path = "../../tracing" }
|
|
|
|
[features]
|
|
default = ["serde"]
|
|
test-utils = ["dep:rand"]
|
|
serde = ["dep:serde"]
|