Fix UI version hanging on image download (#40)

Done by using task::spawn_blocking and blockon
This commit is contained in:
Philip Kristoffersen
2022-03-13 22:30:33 +01:00
committed by GitHub
parent 1729562885
commit 7f93ba6acd
5 changed files with 86 additions and 40 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ steam_shortcuts_util = "^1.1.4"
steamgriddb_api = "^0.2,0"
serde = { version = "^1.0.130", features = ["derive"] }
serde_json = "^1.0.68"
tokio = { version = "^1.11.0", features = ["full"] }
tokio = { version = "^1.17.0", features = ["full"] }
reqwest = { version = "^0.11.4", default_features = false }
config = "^0.11.0"
failure = "^0.1.8"