This repository was archived by the owner on Dec 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (48 loc) · 1.22 KB
/
Copy pathCargo.toml
File metadata and controls
59 lines (48 loc) · 1.22 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
53
54
55
56
57
58
59
[package]
authors = ["Simon Bernier St-Pierre <sbernierstpierre@gmail.com>"]
description = "Internet Gateway Protocol client"
documentation = "https://docs.rs/igd/"
edition = "2018"
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]
attohttpc = {version = "0.16", default-features = false}
bytes = {version = "1", optional = true}
futures = {version = "0.3", optional = true}
http = {version = "0.2", optional = true}
log = "0.4"
rand = "0.8"
tokio = {version = "1", optional = true, features = ["net"]}
url = "2"
xmltree = "0.10"
[dependencies.hyper]
default-features = false
features = ["client", "http1", "http2", "runtime"]
optional = true
version = "0.14"
[dev-dependencies]
simplelog = "0.9"
tokio = {version = "1", features = ["full"]}
[features]
aio = ["futures", "tokio", "hyper", "bytes", "http"]
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"