Update packages

pull/30/head
trivernis 10 months ago
parent 3a25a8b812
commit 7047dc7903
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

File diff suppressed because it is too large Load Diff

@ -45,7 +45,7 @@ path = "./mediarepo-socket"
path = "./mediarepo-worker"
[dependencies.tokio]
version = "1.17.0"
version = "1.21.2"
features = ["macros", "rt-multi-thread", "io-std", "io-util"]
[dependencies.tracing-subscriber]

@ -34,7 +34,7 @@ default-features = false
features = ["migrate"]
[dependencies.tokio]
version = "1.17.0"
version = "1.21.2"
features = ["fs", "io-util", "io-std"]
[dependencies.config]

@ -26,6 +26,6 @@ features = ["runtime-tokio-native-tls", "macros"]
default-features = false
[dependencies.tokio]
version = "1.17.0"
version = "1.21.2"
features = ["fs", "io-std", "io-util"]

@ -26,8 +26,8 @@ path = "../mediarepo-logic"
path = "../mediarepo-worker"
[dependencies.tokio]
version = "1.17.0"
features = ["net"]
version = "1.21.2"
features = ["net", "rt", "tracing"]
[dependencies.chrono]
version = "0.4.19"

@ -38,9 +38,7 @@ pub fn start_tcp_server(
let address = SocketAddr::new(ip, port);
let address_string = address.to_string();
let join_handle = tokio::task::Builder::new()
.name("mediarepo_tcp::listen")
.spawn(async move {
let join_handle = tokio::task::spawn(async move {
get_builder::<EncryptedListener<TcpListener>>(address)
.insert::<SubsystemKey>(subsystem)
.insert_all(shared_data)
@ -66,9 +64,7 @@ pub fn create_unix_socket(
if path.exists() {
fs::remove_file(&path)?;
}
let join_handle = tokio::task::Builder::new()
.name("mediarepo_unix_socket::listen")
.spawn(async move {
let join_handle = tokio::task::spawn(async move {
get_builder::<UnixListener>(path)
.insert::<SubsystemKey>(subsystem)
.insert_all(shared_data)

@ -19,7 +19,7 @@ path = "../mediarepo-logic"
path = "../mediarepo-database"
[dependencies.tokio]
version = "1.17.0"
version = "1.21.2"
features = ["macros"]
[dependencies.chrono]

Loading…
Cancel
Save