mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-24 00:21:20 +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.
26 lines
659 B
TOML
26 lines
659 B
TOML
[package]
|
|
name = "libp2p-upnp"
|
|
edition = "2021"
|
|
rust-version = "1.60.0"
|
|
description = "UPnP support for libp2p transports"
|
|
version = "0.1.0"
|
|
license = "MIT"
|
|
repository = "https://github.com/libp2p/rust-libp2p"
|
|
keywords = ["peer-to-peer", "libp2p", "networking"]
|
|
categories = ["network-programming", "asynchronous"]
|
|
publish = false
|
|
|
|
[dependencies]
|
|
futures = "0.3.28"
|
|
futures-timer = "3.0.2"
|
|
igd-next = "0.14.2"
|
|
libp2p-core = { workspace = true }
|
|
libp2p-swarm = { workspace = true }
|
|
log = "0.4.19"
|
|
void = "1.0.2"
|
|
tokio = { version = "1.29", default-features = false, features = ["rt"], optional = true }
|
|
|
|
[features]
|
|
tokio = ["igd-next/aio_tokio", "dep:tokio"]
|
|
|