forked from sbstp/rust-igd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 lines (46 loc) · 1.17 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
authors = ["Simon Bernier St-Pierre <[email protected]>"]
description = "Internet Gateway Protocol client"
documentation = "https://docs.rs/igd/"
edition = "2021"
homepage = "https://github.com/sbstp/rust-igd"
keywords = ["igd", "upnp"]
license = "MIT"
name = "igd"
readme = "README.md"
repository = "https://github.com/sbstp/rust-igd"
version = "0.12.1"
[package.metadata.docs.rs]
all-features = true
[dependencies]
log = "0.4"
rand = "0.8"
reqwest = { version = "0.12.9", default-features = false, features = ["blocking", "rustls-tls"] }
thiserror = "2.0.4"
tokio = {version = "1", optional = true, features = ["net"]}
url = "2"
xmltree = "0.11"
[dev-dependencies]
http-body-util = "0.1"
hyper = { package = "hyper", version = "1", features = ["server", "http1"] }
hyper-util = { version = "0.1", features = ["tokio"] }
paste = "1.0.15"
simplelog = "0.9"
test-log = "0.2"
tokio = {version = "1", features = ["full"]}
[features]
aio = ["tokio"]
default = []
[[example]]
name = "add_any_port"
[[example]]
name = "add_port"
[[example]]
name = "add_remove"
[[example]]
name = "aio"
required-features = ["aio"]
[[example]]
name = "external_ip"
[[example]]
name = "remove_port"