Improve download_progress example
- Use `reqwest` with `Response::chunk` to notify progress. - Turn example state into an enum
This commit is contained in:
parent
fff333f89b
commit
30c7db3f25
3 changed files with 123 additions and 120 deletions
|
|
@ -6,8 +6,7 @@ edition = "2018"
|
|||
publish = false
|
||||
|
||||
[dependencies]
|
||||
iced = { path = "../.." }
|
||||
iced = { path = "../..", features = ["tokio"] }
|
||||
iced_native = { path = "../../native" }
|
||||
iced_futures = { path = "../../futures" }
|
||||
async-std = { version = "1.0", features = ["unstable"] }
|
||||
isahc = "0.9.1"
|
||||
reqwest = "0.10"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue