-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (34 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "libp2p-nat"
version = "0.4.0"
edition = "2021"
license = "Apache-2.0 OR MIT"
description = "(WIP) Implementation of port forwarding for libp2p"
repository = "https://github.com/dariusc93/libp2p-nat"
readme = "README.md"
keywords = ["libp2p", "p2p", "networking"]
authors = ["Darius Clark"]
exclude = [".gitignore"]
[features]
default = ["tokio"]
tokio = ["dep:tokio", "igd-next/aio_tokio", "natpmp/tokio"]
async-std = ["dep:async-std", "igd-next/aio_async_std", "natpmp/async-std"]
nat_pmp_fallback = ["natpmp"]
[dependencies]
libp2p = { version = "0.53" }
futures = "0.3"
igd-next = { version = "0.14", default-features = false }
void = "1"
tokio = { version = "1", optional = true, features = ["full"] }
async-std = { version = "1", optional = true }
log = "0.4"
anyhow = "1"
futures-timer = "3.0"
thiserror = "1"
[target.'cfg(not(target_os = "ios"))'.dependencies]
natpmp = { version = "0.4", default-features = false, optional = true}
[dev-dependencies]
libp2p = { version = "0.53", features = ["full"] }
clap = { version = "4.3", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
env_logger = "0.10"