Created upnp crate to port forward local ports

This commit is contained in:
Igor Katson 2023-12-05 14:24:16 +00:00
parent 215bccb89c
commit 626c529000
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
6 changed files with 663 additions and 1 deletions

22
crates/upnp/Cargo.toml Normal file
View file

@ -0,0 +1,22 @@
[package]
name = "librqbit-upnp"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tracing = "0.1"
anyhow = "1"
reqwest = {version = "0.11"}
serde = {version = "1", features = ["derive"]}
serde-xml-rs = "0.6.0"
tokio = {version = "1"}
futures = "0.3"
url = "2"
async-recursion = "1"
network-interface = "1"
[dev-dependencies]
tokio = {version = "1", features = ["macros", "rt-multi-thread"]}
tracing-subscriber = "0.3"