v7.0.0 prep further

This commit is contained in:
Igor Katson 2024-08-27 18:32:09 +01:00
parent 31a254103c
commit 5717f33f68
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
6 changed files with 45 additions and 39 deletions

View file

@ -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
View file

@ -0,0 +1 @@
../README.md

View file

@ -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<()> {