Files
nanoreth/crates/net/nat/Cargo.toml
Tomás 1d1d90bd19 feat: optional serde features (#1214)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:52:32 -08:00

35 lines
765 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 = "0.1"
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"]