[package] name = "veilid-igd" version = "0.1.1" authors = ["Veilid Team "] description = "Fork of igd and igd-next modified to the needs of the Veilid project. Internet Gateway Protocol client" documentation = "https://docs.rs/veilid-igd/" edition = "2021" homepage = "https://gitlab.com/veilid/rust-igd" keywords = ["igd", "upnp"] license = "MIT" readme = "README.md" repository = "https://gitlab.com/veilid/rust-igd" [package.metadata.docs.rs] all-features = true [dependencies] attohttpc = { version = "0.24", 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"] } async-std = { version = "1", optional = true } surf = { version = "2.3.2", optional = true, default-features = false } url = "2" xmltree = "0.10" async-trait = { version = "0.1.72", optional = true } [dependencies.hyper] default-features = false features = ["client", "http1", "http2", "runtime"] optional = true version = "0.14" [dev-dependencies] simplelog = "0.12" tokio = { version = "1", features = ["full"] } async-std = { version = "1", features = ["attributes"] } [features] aio_tokio = ["futures", "tokio", "hyper", "bytes", "http", "async-trait"] aio_async_std = [ "futures", "async-std", "surf/h1-client-rustls", "bytes", "http", "async-trait", ] default = [] [[example]] name = "add_any_port" [[example]] name = "add_port" [[example]] name = "add_remove" [[example]] name = "aio_tokio" required-features = ["aio_tokio"] [[example]] name = "aio_astd" required-features = ["aio_async_std"] [[example]] name = "external_ip" [[example]] name = "remove_port"