forked from sbstp/rust-igd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
58 lines (47 loc) · 1.21 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
57
58
[package]
name = "igd"
version = "0.10.0"
edition = "2018"
authors = ["Simon Bernier St-Pierre <[email protected]>"]
description = "Internet Gateway Protocol client"
homepage = "https://github.com/sbstp/rust-igd"
repository = "https://github.com/sbstp/rust-igd"
documentation = "https://docs.rs/igd/"
readme = "README.md"
keywords = ["igd", "upnp"]
license = "MIT"
[package.metadata.docs.rs]
all-features = true
[dependencies]
xmltree = "0.8"
rand = "0.4"
attohttpc = { version = "0.4", default-features = false }
url = "1"
futures = { version = "0.3", optional = true }
tokio = { version = "0.2", optional = true , features = [ "udp", "macros" ]}
log = { version = "0.4", optional = true }
bytes = { version = "0.4", optional = true }
http = {version = "0.2", optional = true }
[dependencies.hyper]
version = "0.13"
default-features = false
features = [ "runtime" ]
optional = true
[dev-dependencies]
simplelog = "0.5"
[features]
default = []
aio = ["futures", "tokio", "hyper", "bytes", "log", "http"]
[[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"