mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Bumps the cargo-deps group with 5 updates: | Package | From | To | | --- | --- | --- | | [serde](https://github.com/serde-rs/serde) | `1.0.189` | `1.0.190` | | [futures](https://github.com/rust-lang/futures-rs) | `0.3.28` | `0.3.29` | | [clap](https://github.com/clap-rs/clap) | `4.4.6` | `4.4.7` | | [base64](https://github.com/marshallpierce/rust-base64) | `0.21.4` | `0.21.5` | | [fake](https://github.com/cksac/fake-rs) | `2.8.0` | `2.9.1` | Updates `serde` from 1.0.189 to 1.0.190 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.189...v1.0.190) Updates `futures` from 0.3.28 to 0.3.29 - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.28...0.3.29) Updates `clap` from 4.4.6 to 4.4.7 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.4.6...v4.4.7) Updates `base64` from 0.21.4 to 0.21.5 - [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md) - [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.4...v0.21.5) Updates `fake` from 2.8.0 to 2.9.1 - [Commits](https://github.com/cksac/fake-rs/commits) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: futures dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: base64 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: fake dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-deps ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Web Worker Prime
Calculate primes until stop button is pressed, without blocking the main thread.
Concepts
The example illustrates how to use reactor agents to offload CPU bound tasks to a worker thread in a Yew application.
Running
Run this application with the trunk development server:
trunk serve --open