mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "reth-dns-discovery"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
description = "Support for EIP-1459 Node Discovery via DNS"
|
|
|
|
[dependencies]
|
|
# reth
|
|
reth-primitives = { workspace = true }
|
|
reth-net-common = { path = "../common" }
|
|
reth-rlp = { workspace = true }
|
|
|
|
# ethereum
|
|
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 }
|
|
|
|
# trust-dns
|
|
trust-dns-resolver = "0.22"
|
|
|
|
# misc
|
|
data-encoding = "2"
|
|
async-trait = { workspace = true }
|
|
linked_hash_set = "0.1"
|
|
schnellru = "0.2"
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
parking_lot = "0.12"
|
|
serde = { workspace = true, optional = true }
|
|
serde_with = { version = "2.1.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["sync", "rt", "rt-multi-thread"] }
|
|
reth-tracing = { path = "../../tracing" }
|
|
|
|
[features]
|
|
default = ["serde"]
|
|
serde = ["dep:serde", "dep:serde_with"]
|