v7.0.0 prep further
This commit is contained in:
parent
31a254103c
commit
5717f33f68
6 changed files with 45 additions and 39 deletions
|
|
@ -40,7 +40,7 @@ peer_binary_protocol = { path = "../peer_binary_protocol", default-features = fa
|
|||
sha1w = { path = "../sha1w", default-features = false, package = "librqbit-sha1-wrapper", version = "4" }
|
||||
dht = { path = "../dht", package = "librqbit-dht", version = "5.1.0" }
|
||||
librqbit-upnp = { path = "../upnp", version = "0.1.1" }
|
||||
upnp-serve = { path = "../upnp-serve", default-features = false, version = "0.1.0", optional = true }
|
||||
upnp-serve = { path = "../upnp-serve", package = "librqbit-upnp-serve", default-features = false, version = "0.1.0", optional = true }
|
||||
|
||||
tokio = { version = "1", features = [
|
||||
"macros",
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ serde_json = "1"
|
|||
size_format = "1"
|
||||
bytes = "1.5.0"
|
||||
openssl = { version = "0.10", features = ["vendored"], optional = true }
|
||||
upnp-serve = { path = "../upnp-serve" }
|
||||
upnp-serve = { path = "../upnp-serve", version = "0.1.0", package = "librqbit-upnp-serve" }
|
||||
libc = "0.2.158"
|
||||
signal-hook = "0.3.17"
|
||||
tokio-util = "0.7.11"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
[package]
|
||||
name = "upnp-serve"
|
||||
name = "librqbit-upnp-serve"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Simple UPnP MediaServer implementation"
|
||||
license = "Apache-2.0"
|
||||
documentation = "https://docs.rs/librqbit-upnp-serve"
|
||||
repository = "https://github.com/ikatson/rqbit"
|
||||
readme = "README.md"
|
||||
|
||||
[features]
|
||||
default = ["sha1-crypto-hash"]
|
||||
|
|
@ -18,10 +23,10 @@ serde = { version = "1", features = ["derive"] }
|
|||
http = "1.1.0"
|
||||
httparse = "1.9.4"
|
||||
uuid = { version = "1.10.0", features = ["v4"] }
|
||||
librqbit-upnp = { path = "../upnp", default-features = false }
|
||||
librqbit-upnp = { version = "0.1", path = "../upnp", default-features = false }
|
||||
gethostname = "0.5.0"
|
||||
librqbit-sha1-wrapper = { path = "../sha1w", default-features = false }
|
||||
librqbit-core = { path = "../librqbit_core", default-features = false }
|
||||
librqbit-sha1-wrapper = { path = "../sha1w", version = "4", default-features = false }
|
||||
librqbit-core = { version = "4", path = "../librqbit_core", default-features = false }
|
||||
mime_guess = "2.0.5"
|
||||
url = "2.5.2"
|
||||
parking_lot = "0.12.3"
|
||||
|
|
|
|||
1
crates/upnp-serve/README.md
Symbolic link
1
crates/upnp-serve/README.md
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../README.md
|
||||
|
|
@ -5,12 +5,12 @@ use std::{
|
|||
|
||||
use anyhow::Context;
|
||||
use axum::routing::get;
|
||||
use mime_guess::Mime;
|
||||
use tracing::{error, info};
|
||||
use upnp_serve::{
|
||||
use librqbit_upnp_serve::{
|
||||
upnp_types::content_directory::response::{Item, ItemOrContainer},
|
||||
UpnpServer, UpnpServerOptions,
|
||||
};
|
||||
use mime_guess::Mime;
|
||||
use tracing::{error, info};
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> anyhow::Result<()> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue