stream files to disk

- Greatly reduced memory usage while downloading
- Added progressbar, download rate
- Added async runtime
- Tweaks to allow usage of async download function
This commit is contained in:
2023-11-02 10:39:58 +01:00
parent f609a53377
commit dacaf322d4
5 changed files with 929 additions and 231 deletions

View File

@@ -23,8 +23,11 @@ serde = { version = "1.0.189", features = ["derive"] }
serde_json = "1.0.107"
rand = "0.8.5"
semver = "1.0.20"
zip = "0.6.6"
colored = "2.0.4"
reqwest = { version = "0.11.22", features = ["stream"] }
futures-util = "0.3.29"
indicatif = "0.17.7"
tokio = {version="1.33.0", features = ["rt-multi-thread", "macros"]}
[target.'cfg(windows)'.dependencies]
steamlocate = "2.0.0-alpha.0"