Files
nanoreth/crates/net/network/Cargo.toml
2023-01-06 12:21:42 +01:00

83 lines
2.1 KiB
TOML

[package]
name = "reth-network"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
description = """
Ethereum network support
"""
[package.metadata.cargo-udeps.ignore]
normal = [
# Used for diagrams in docs
"aquamarine"
]
[dependencies]
# reth
reth-interfaces = { path = "../../interfaces" }
reth-primitives = { path = "../../primitives" }
reth-net-common = { path = "../common" }
reth-discv4 = { path = "../discv4" }
reth-eth-wire = { path = "../eth-wire" }
reth-ecies = { path = "../ecies" }
reth-rlp = { path = "../../common/rlp" }
reth-rlp-derive = { path = "../../common/rlp-derive" }
reth-tasks = { path = "../../tasks" }
reth-transaction-pool = { path = "../../transaction-pool" }
reth-provider = { path = "../../storage/provider"}
# async/futures
futures = "0.3"
pin-project = "1.0"
tokio = { version = "1", features = ["io-util", "net", "macros", "rt-multi-thread", "time"] }
tokio-stream = "0.1"
# io
serde = { version = "1.0", optional = true }
# metrics
metrics = "0.20.1"
reth-metrics-derive = { path = "../../metrics/metrics-derive" }
# misc
auto_impl = "1"
aquamarine = "0.1" # docs
tracing = "0.1"
fnv = "1.0"
thiserror = "1.0"
parking_lot = "0.12"
async-trait = "0.1"
bytes = "1.2"
linked_hash_set = "0.1"
linked-hash-map = "0.5.6"
rand = "0.8"
secp256k1 = { version = "0.24", features = [
"global-context",
"rand-std",
"recovery",
] }
[dev-dependencies]
# reth
reth-discv4 = { path = "../discv4", features = ["test-utils"] }
reth-interfaces = { path = "../../interfaces", features = ["test-utils"] }
reth-provider = { path = "../../storage/provider", features = ["test-utils"] }
reth-tracing = { path = "../../tracing" }
reth-transaction-pool = { path = "../../transaction-pool", features = ["test-utils"] }
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
ethers-providers = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
enr = { version = "0.7.0", features = ["serde", "rust-secp256k1"] }
# misc
hex = "0.4"
tempfile = "3.3"
serial_test = "0.10"
[features]
serde = ["dep:serde"]