Files
nanoreth/crates/net/network-api/Cargo.toml
liamaharon cf4a4454ec fix: feature propagation (#11888)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
2024-10-19 20:36:11 +00:00

50 lines
1.1 KiB
TOML

[package]
name = "reth-network-api"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Network interfaces and commonly used types"
[lints]
workspace = true
[dependencies]
# reth
alloy-rpc-types-admin.workspace = true
reth-network-peers.workspace = true
reth-network-types.workspace = true
reth-network-p2p.workspace = true
reth-eth-wire-types.workspace = true
reth-tokio-util.workspace = true
reth-ethereum-forks.workspace = true
# ethereum
alloy-primitives.workspace = true
# eth
enr = { workspace = true, default-features = false, features = ["rust-secp256k1"] }
# async
futures.workspace = true
tokio-stream.workspace = true
# misc
thiserror.workspace = true
serde = { workspace = true, features = ["derive"], optional = true }
tokio = { workspace = true, features = ["sync"] }
auto_impl.workspace = true
derive_more.workspace = true
[features]
default = ["serde"]
serde = [
"dep:serde",
"reth-eth-wire-types/serde",
"reth-network-types/serde",
"alloy-primitives/serde",
"enr/serde"
]