Keep http 1.5 and tolerate empty or relative service URLs in a local rupnp patch. Cover standard DLNA SOAP requests and malformed descriptions. Avoid logger locks in fatal handlers, flush emitted log batches, and preserve CI symbols after smoke failures. cx
144 lines
2.6 KiB
TOML
144 lines
2.6 KiB
TOML
# 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 = "2018"
|
|
name = "rupnp"
|
|
version = "3.0.0"
|
|
authors = ["Jakob Hellermann <jakob.hellermann@protonmail.com>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "An asynchronous library for finding UPnP control points, performing actions on them and reading their service descriptions."
|
|
readme = "README.md"
|
|
keywords = [
|
|
"async",
|
|
"upnp",
|
|
"networking",
|
|
"protocols",
|
|
]
|
|
categories = [
|
|
"network-programming",
|
|
"asynchronous",
|
|
]
|
|
license = "MIT/Apache-2.0"
|
|
repository = "https://github.com/jakobhellermann/rupnp"
|
|
|
|
[features]
|
|
default = [
|
|
"subscribe",
|
|
"genawaiter",
|
|
"if-addrs",
|
|
]
|
|
full_device_spec = []
|
|
subscribe = ["tokio"]
|
|
|
|
[lib]
|
|
name = "rupnp"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "discover"
|
|
path = "examples/discover.rs"
|
|
|
|
[[example]]
|
|
name = "discover_extra_fields"
|
|
path = "examples/discover_extra_fields.rs"
|
|
|
|
[[example]]
|
|
name = "dump_scpd"
|
|
path = "examples/dump_scpd.rs"
|
|
|
|
[[example]]
|
|
name = "rendering_control"
|
|
path = "examples/rendering_control.rs"
|
|
|
|
[[example]]
|
|
name = "search_and_action"
|
|
path = "examples/search_and_action.rs"
|
|
|
|
[[example]]
|
|
name = "subscribe"
|
|
path = "examples/subscribe.rs"
|
|
required-features = ["subscribe"]
|
|
|
|
[dependencies.bytes]
|
|
version = "1.0"
|
|
|
|
[dependencies.futures-core]
|
|
version = "0.3"
|
|
|
|
[dependencies.futures-util]
|
|
version = "0.3"
|
|
default-features = false
|
|
|
|
[dependencies.genawaiter]
|
|
version = "0.99"
|
|
features = ["futures03"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.http]
|
|
version = "1.0"
|
|
|
|
[dependencies.http-body-util]
|
|
version = "0.1.3"
|
|
|
|
[dependencies.hyper]
|
|
version = "1.0"
|
|
features = [
|
|
"client",
|
|
"http1",
|
|
]
|
|
|
|
[dependencies.hyper-util]
|
|
version = "0.1.11"
|
|
features = [
|
|
"client",
|
|
"client-legacy",
|
|
"http1",
|
|
]
|
|
|
|
[dependencies.if-addrs]
|
|
version = "0.13"
|
|
optional = true
|
|
|
|
[dependencies.roxmltree]
|
|
version = "0.20"
|
|
|
|
[dependencies.ssdp-client]
|
|
version = "2.0"
|
|
|
|
[dependencies.tokio]
|
|
version = "1.0"
|
|
features = [
|
|
"net",
|
|
"io-util",
|
|
]
|
|
optional = true
|
|
|
|
[dev-dependencies.anyhow]
|
|
version = "1.0"
|
|
|
|
[dev-dependencies.futures]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "1.0"
|
|
features = [
|
|
"macros",
|
|
"fs",
|
|
"rt-multi-thread",
|
|
]
|