rqbit/crates/upnp-serve/Cargo.toml

39 lines
1.1 KiB
TOML
Raw Normal View History

[package]
name = "upnp-serve"
version = "0.1.0"
edition = "2021"
2024-08-27 18:10:52 +01:00
[features]
default = ["sha1-crypto-hash"]
sha1-crypto-hash = ["librqbit-sha1-wrapper/sha1-crypto-hash"]
sha1-ring = ["librqbit-sha1-wrapper/sha1-ring"]
[dependencies]
anyhow = "1.0.86"
axum = { version = "0.7.5", features = ["tokio"] }
tokio = { version = "1.39.3", features = ["full"] }
tracing = "0.1.40"
bstr = "1.10.0"
2024-08-27 18:10:52 +01:00
serde = { version = "1", features = ["derive"] }
http = "1.1.0"
httparse = "1.9.4"
uuid = { version = "1.10.0", features = ["v4"] }
2024-08-27 15:11:34 +01:00
librqbit-upnp = { path = "../upnp", default-features = false }
gethostname = "0.5.0"
2024-08-27 15:11:34 +01:00
librqbit-sha1-wrapper = { path = "../sha1w", default-features = false }
librqbit-core = { path = "../librqbit_core", default-features = false }
mime_guess = "2.0.5"
url = "2.5.2"
parking_lot = "0.12.3"
tokio-util = "0.7.11"
reqwest = { version = "0.12.7", default-features = false }
2024-08-26 18:57:51 +01:00
socket2 = "0.5.7"
2024-08-27 18:10:52 +01:00
quick-xml = { version = "0.36.1", features = ["serialize"] }
[dev-dependencies]
tracing-subscriber = "0.3.18"
tower-http = { version = "0.5", features = ["trace"] }
[[example]]
name = "upnp-stub-server"