-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (46 loc) · 1.55 KB
/
Cargo.toml
File metadata and controls
52 lines (46 loc) · 1.55 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "portmapper"
version = "0.4.1"
edition = "2021"
readme = "README.md"
description = "Portmapping utilities"
license = "MIT OR Apache-2.0"
authors = ["n0 team"]
repository = "https://github.com/n0-computer/net-tools"
keywords = ["portmapping", "pmp", "pcp", "upnp"]
# Sadly this also needs to be updated in .github/workflows/ci.yml
rust-version = "1.81"
[lints]
workspace = true
[dependencies]
base64 = "0.22.1"
bytes = "1.7"
derive_more = { version = "1.0.0", features = ["debug", "display", "from", "try_into", "deref"] }
futures-lite = "2.5"
futures-util = "0.3.25"
igd-next = { version = "0.15.1", features = ["aio_tokio"] }
iroh-metrics = { version = "0.34", default-features = false }
libc = "0.2.139"
nested_enum_utils = "0.2.0"
netwatch = { version = "0.4.0", path = "../netwatch" }
num_enum = "0.7"
rand = "0.8"
serde = { version = "1", features = ["derive", "rc"] }
smallvec = "1.11.1"
snafu = { version = "0.8.5", features = ["rust_1_81"] }
socket2 = "0.5.3"
time = "0.3.20"
tokio = { version = "1", features = ["io-util", "macros", "sync", "rt", "net", "fs", "io-std", "signal", "process"] }
tokio-util = { version = "0.7", features = ["io-util", "io", "codec", "rt"] }
tracing = "0.1"
url = { version = "2.5", features = ["serde"] }
[dev-dependencies]
ntest = "0.9"
rand_chacha = "0.3.1"
tokio = { version = "1", features = ["io-util", "sync", "rt", "net", "fs", "macros", "time", "test-util"] }
[features]
default = ["metrics"]
metrics = ["iroh-metrics/metrics"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "iroh_docsrs"]