Commit graph

13 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
9f1beba583
Make sipper dependency optional 2025-04-02 11:10:25 +02:00
Héctor Ramón Jiménez
91af1c5ed6
Update all examples to Rust 2024 2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
e2c52c9728
Implement AI gallery example 🎉
It displays the most popular daily images of Civitai!
2025-01-27 05:01:43 +01:00
Héctor Ramón Jiménez
1a0bcdb2f6
Fix download_progress and make it work on Wasm
Co-authored-by: Skygrango <skygrango@gmail.com>
2024-09-10 19:24:30 +02:00
Héctor Ramón Jiménez
e86920be5b
Remove load method from application and daemon
If you need to run a `Task` during boot, use
`run_with` instead!
2024-07-09 00:28:40 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
f4cf488e0b
Remove generic Hasher and Event from subscription::Recipe 2023-03-05 04:15:10 +01:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
5f9cf991a7
Update reqwest in examples
... and rely on `rustls` instead of `native-tls`
2022-01-13 19:56:16 +07:00
Folyd
9f5c2eb0c4
Improve download_progress example (#283)
* Add advanced download example

* Rename to task fields and variables

* Cargo fmt advanced_download/src/download.rs

* Add progress bar for advanced download example

* Merge two download examples to single one

* Apply great review suggestions

* Change to url::Url instead of plain String

* Simplify `download_progress` example

* Update `README` of `download_progress` example

Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2021-02-12 22:00:52 +01:00
Héctor Ramón Jiménez
782dd2f522 Introduce tokio_old feature
This feature allows users to rely on the `0.2` version of `tokio` while
the async ecosystem upgrades to the latest version.
2020-11-25 03:06:24 +01:00
Héctor Ramón Jiménez
30c7db3f25 Improve download_progress example
- Use `reqwest` with `Response::chunk` to notify progress.
- Turn example state into an enum
2020-03-23 20:34:16 +01:00
Songtronix
fff333f89b Add example for download with progress tracking 2020-03-23 17:53:57 +01:00