Files
nanoreth/crates/net/nat/Cargo.toml
2023-05-15 17:06:10 -07:00

35 lines
780 B
TOML

[package]
name = "reth-net-nat"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
description = """
Helpers for working around NAT
"""
[dependencies]
# nat
public-ip = "0.2"
## fork of rust-igd with ipv6 support: https://github.com/sbstp/rust-igd/issues/47
igd = { git = "https://github.com/stevefan1999-personal/rust-igd", features = [
"aio",
"tokio1",
] }
# misc
tracing = { workspace = true }
pin-project-lite = "0.2.9"
tokio = { version = "1", features = ["time"] }
thiserror = "1.0"
serde_with = { version = "2.1.0", optional = true }
[dev-dependencies]
reth-tracing = { path = "../../tracing" }
tokio = { version = "1", features = ["macros"] }
[features]
default = ["serde"]
serde = ["dep:serde_with"]