mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-30 10:11:33 +00:00
Implements UPnP via the IGD protocol. The usage of IGD is an implementation detail and is planned to be extended to support NATpnp. Resolves: #3903. Pull-Request: #4156.
12 lines
331 B
TOML
12 lines
331 B
TOML
[package]
|
|
name = "upnp-example"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", features = [ "rt-multi-thread", "macros"] }
|
|
futures = "0.3.28"
|
|
libp2p = { path = "../../libp2p", features = ["tokio", "dns", "macros", "noise", "ping", "tcp", "websocket", "yamux", "upnp"] }
|