mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
[package]
|
|
name = "reth-network-p2p"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
description = "traits and commonly used types for p2p and network communication"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
# reth
|
|
reth-primitives.workspace = true
|
|
reth-eth-wire-types.workspace = true
|
|
reth-consensus.workspace = true
|
|
reth-network-peers.workspace = true
|
|
reth-network-types.workspace = true
|
|
reth-storage-errors.workspace = true
|
|
|
|
# ethereum
|
|
alloy-primitives.workspace = true
|
|
|
|
# async
|
|
futures.workspace = true
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
|
|
# misc
|
|
auto_impl.workspace = true
|
|
tracing.workspace = true
|
|
derive_more.workspace = true
|
|
|
|
parking_lot = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
reth-consensus = { workspace = true, features = ["test-utils"] }
|
|
|
|
parking_lot.workspace = true
|
|
tokio = { workspace = true, features = ["full"] }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
test-utils = ["reth-consensus/test-utils", "parking_lot"]
|
|
std = ["reth-consensus/std"]
|