# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" 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" homepage = "https://gitlab.com/veilid/rust-igd" documentation = "https://docs.rs/veilid-igd/" readme = "README.md" keywords = [ "igd", "upnp", ] license = "MIT" repository = "https://gitlab.com/veilid/rust-igd" [package.metadata.docs.rs] all-features = true [[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" [dependencies.async-std] version = "1" optional = true [dependencies.async-trait] version = "0.1.72" optional = true [dependencies.attohttpc] version = "0.24" default-features = false [dependencies.bytes] version = "1" optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.http] version = "0.2" optional = true [dependencies.hyper] version = "0.14" features = [ "client", "http1", "http2", "runtime", ] optional = true default-features = false [dependencies.log] version = "0.4" [dependencies.rand] version = "0.8" [dependencies.surf] version = "2.3.2" optional = true default-features = false [dependencies.tokio] version = "1" features = ["net"] optional = true [dependencies.url] version = "2" [dependencies.xmltree] version = "0.10" [dev-dependencies.async-std] version = "1" features = ["attributes"] [dev-dependencies.simplelog] version = "0.12" [dev-dependencies.tokio] version = "1" features = ["full"] [features] aio_async_std = [ "futures", "async-std", "surf/h1-client-rustls", "bytes", "http", "async-trait", ] aio_tokio = [ "futures", "tokio", "hyper", "bytes", "http", "async-trait", ] default = []