mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
65 lines
1.4 KiB
TOML
65 lines
1.4 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"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
# reth
|
|
reth-net-banlist.workspace = true
|
|
reth-ethereum-forks.workspace = true
|
|
reth-net-nat.workspace = true
|
|
reth-network-peers = { workspace = true, features = ["secp256k1"] }
|
|
|
|
# ethereum
|
|
alloy-primitives.workspace = true
|
|
alloy-rlp = { workspace = true, features = ["derive"] }
|
|
discv5.workspace = true
|
|
secp256k1 = { workspace = true, features = [
|
|
"global-context",
|
|
"rand-std",
|
|
"recovery",
|
|
"serde",
|
|
] }
|
|
enr.workspace = true
|
|
|
|
# async/futures
|
|
tokio = { workspace = true, features = ["io-util", "net", "time"] }
|
|
tokio-stream.workspace = true
|
|
|
|
# misc
|
|
schnellru.workspace = true
|
|
tracing.workspace = true
|
|
thiserror.workspace = true
|
|
parking_lot.workspace = true
|
|
rand = { workspace = true, optional = true }
|
|
generic-array.workspace = true
|
|
serde = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
assert_matches.workspace = true
|
|
rand.workspace = true
|
|
tokio = { workspace = true, features = ["macros"] }
|
|
reth-tracing.workspace = true
|
|
|
|
[features]
|
|
default = ["serde"]
|
|
serde = [
|
|
"dep:serde",
|
|
"alloy-primitives/serde",
|
|
"discv5/serde",
|
|
"enr/serde",
|
|
"generic-array/serde",
|
|
"parking_lot/serde",
|
|
"rand?/serde",
|
|
"secp256k1/serde"
|
|
]
|
|
test-utils = ["dep:rand"]
|