Removed tokio dependency

This commit is contained in:
Antoine Gersant 2023-09-08 18:20:12 -07:00
parent 8d38c5b664
commit 608dabb789
2 changed files with 12 additions and 5 deletions

1
Cargo.lock generated
View file

@ -1493,7 +1493,6 @@ dependencies = [
"serde_json",
"simplelog",
"thiserror",
"tokio",
"toml",
"ureq",
"url",

View file

@ -24,7 +24,10 @@ getopts = "0.2.21"
http = "0.2.8"
id3 = "1.7.0"
lewton = "0.10.2"
libsqlite3-sys = { version = "0.25", features = ["bundled", "bundled-windows"], optional = true }
libsqlite3-sys = { version = "0.25", features = [
"bundled",
"bundled-windows",
], optional = true }
log = "0.4.17"
metaflac = "0.2.5"
mp3-duration = "0.1.10"
@ -42,7 +45,6 @@ serde_derive = "1.0.147"
serde_json = "1.0.87"
simplelog = "0.12.0"
thiserror = "1.0.37"
tokio = "1.21"
toml = "0.5"
ureq = "1.5.5"
url = "2.3"
@ -58,8 +60,14 @@ default_features = false
features = ["bmp", "gif", "jpeg", "png"]
[target.'cfg(windows)'.dependencies]
native-windows-gui = {version = "1.0.13", default-features = false, features = ["cursor", "image-decoder", "message-window", "menu", "tray-notification"], optional = true }
native-windows-derive = {version = "1.0.5", optional = true }
native-windows-gui = { version = "1.0.13", default-features = false, features = [
"cursor",
"image-decoder",
"message-window",
"menu",
"tray-notification",
], optional = true }
native-windows-derive = { version = "1.0.5", optional = true }
[target.'cfg(unix)'.dependencies]
daemonize = "0.4.1"