mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Bump the cargo-deps group across 1 directory with 21 updates (#3923)
* Bump the cargo-deps group across 1 directory with 21 updates Bumps the cargo-deps group with 19 updates in the / directory: | Package | From | To | | --- | --- | --- | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.10.0` | `2.11.4` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.69` | `2.0.16` | | [wasm-bindgen-test](https://github.com/wasm-bindgen/wasm-bindgen) | `0.3.50` | `0.3.53` | | [trybuild](https://github.com/dtolnay/trybuild) | `1.0.110` | `1.0.111` | | [rand](https://github.com/rust-random/rand) | `0.8.5` | `0.9.2` | | [average](https://github.com/vks/average) | `0.15.1` | `0.16.0` | | [tabled](https://github.com/zhiburt/tabled) | `0.18.0` | `0.20.0` | | [indicatif](https://github.com/console-rs/indicatif) | `0.17.11` | `0.18.0` | | [serde_json](https://github.com/serde-rs/json) | `1.0.143` | `1.0.145` | | [clap](https://github.com/clap-rs/clap) | `4.5.45` | `4.5.47` | | [regex](https://github.com/rust-lang/regex) | `1.11.1` | `1.11.2` | | [toml](https://github.com/toml-rs/toml) | `0.8.23` | `0.9.5` | | [chrono](https://github.com/chronotope/chrono) | `0.4.41` | `0.4.42` | | [semver](https://github.com/dtolnay/semver) | `1.0.26` | `1.0.27` | | [log](https://github.com/rust-lang/log) | `0.4.27` | `0.4.28` | | [time](https://github.com/time-rs/time) | `0.3.41` | `0.3.43` | | [uuid](https://github.com/uuid-rs/uuid) | `1.18.0` | `1.18.1` | | [warp](https://github.com/seanmonstar/warp) | `0.3.7` | `0.4.2` | | [hyper-util](https://github.com/hyperium/hyper-util) | `0.1.16` | `0.1.17` | Updates `indexmap` from 2.10.0 to 2.11.4 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.10.0...2.11.4) Updates `thiserror` from 1.0.69 to 2.0.16 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.69...2.0.16) Updates `serde` from 1.0.219 to 1.0.225 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.219...v1.0.225) Updates `wasm-bindgen-test` from 0.3.50 to 0.3.53 - [Release notes](https://github.com/wasm-bindgen/wasm-bindgen/releases) - [Changelog](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/wasm-bindgen/wasm-bindgen/commits) Updates `trybuild` from 1.0.110 to 1.0.111 - [Release notes](https://github.com/dtolnay/trybuild/releases) - [Commits](https://github.com/dtolnay/trybuild/compare/1.0.110...1.0.111) Updates `rand` from 0.8.5 to 0.9.2 - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/0.8.5...rand_core-0.9.2) Updates `average` from 0.15.1 to 0.16.0 - [Commits](https://github.com/vks/average/commits) Updates `tabled` from 0.18.0 to 0.20.0 - [Changelog](https://github.com/zhiburt/tabled/blob/master/CHANGELOG.md) - [Commits](https://github.com/zhiburt/tabled/commits) Updates `indicatif` from 0.17.11 to 0.18.0 - [Release notes](https://github.com/console-rs/indicatif/releases) - [Commits](https://github.com/console-rs/indicatif/compare/0.17.11...0.18.0) Updates `serde_json` from 1.0.143 to 1.0.145 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.143...v1.0.145) Updates `clap` from 4.5.45 to 4.5.47 - [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/clap_complete-v4.5.45...clap_complete-v4.5.47) Updates `regex` from 1.11.1 to 1.11.2 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.11.1...1.11.2) Updates `toml` from 0.8.23 to 0.9.5 - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.23...toml-v0.9.5) Updates `chrono` from 0.4.41 to 0.4.42 - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.41...v0.4.42) Updates `semver` from 1.0.26 to 1.0.27 - [Release notes](https://github.com/dtolnay/semver/releases) - [Commits](https://github.com/dtolnay/semver/compare/1.0.26...1.0.27) Updates `log` from 0.4.27 to 0.4.28 - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.27...0.4.28) Updates `time` from 0.3.41 to 0.3.43 - [Release notes](https://github.com/time-rs/time/releases) - [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md) - [Commits](https://github.com/time-rs/time/compare/v0.3.41...v0.3.43) Updates `uuid` from 1.18.0 to 1.18.1 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/v1.18.0...v1.18.1) Updates `warp` from 0.3.7 to 0.4.2 - [Release notes](https://github.com/seanmonstar/warp/releases) - [Changelog](https://github.com/seanmonstar/warp/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/warp/compare/v0.3.7...v0.4.2) Updates `hyper-util` from 0.1.16 to 0.1.17 - [Release notes](https://github.com/hyperium/hyper-util/releases) - [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.16...v0.1.17) Updates `serde_derive` from 1.0.219 to 1.0.225 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.219...v1.0.225) --- updated-dependencies: - dependency-name: indexmap dependency-version: 2.11.4 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-deps - dependency-name: thiserror dependency-version: 2.0.16 dependency-type: direct:production update-type: version-update:semver-major dependency-group: cargo-deps - dependency-name: serde dependency-version: 1.0.225 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: wasm-bindgen-test dependency-version: 0.3.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: trybuild dependency-version: 1.0.111 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: rand dependency-version: 0.9.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-deps - dependency-name: average dependency-version: 0.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-deps - dependency-name: tabled dependency-version: 0.20.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-deps - dependency-name: indicatif dependency-version: 0.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-deps - dependency-name: serde_json dependency-version: 1.0.145 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: clap dependency-version: 4.5.47 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: regex dependency-version: 1.11.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: toml dependency-version: 0.9.5 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-deps - dependency-name: chrono dependency-version: 0.4.42 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: semver dependency-version: 1.0.27 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: log dependency-version: 0.4.28 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: time dependency-version: 0.3.43 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: uuid dependency-version: 1.18.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: warp dependency-version: 0.4.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-deps - dependency-name: hyper-util dependency-version: 0.1.17 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps - dependency-name: serde_derive dependency-version: 1.0.225 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-deps ... Signed-off-by: dependabot[bot] <support@github.com> * fix lipsum dependency lipsum hasn't publish a version for rand 0.9 yet, but that exists on master --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Molzer <WorldSEnder@users.noreply.github.com>
This commit is contained in:
parent
b7a599b9e4
commit
e5352140af
@ -4,6 +4,9 @@ runner = 'wasm-bindgen-test-runner'
|
||||
[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))']
|
||||
runner = 'wasmtime -W unknown-imports-trap=y'
|
||||
|
||||
[target.wasm32-unknown-unknown]
|
||||
rustflags = ['--cfg', 'getrandom_backend="wasm_js"']
|
||||
|
||||
# This section needs to be last.
|
||||
# GitHub Actions modifies this section.
|
||||
[unstable]
|
||||
|
||||
277
Cargo.lock
generated
277
Cargo.lock
generated
@ -26,12 +26,6 @@ dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "android-tzdata"
|
||||
version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
|
||||
|
||||
[[package]]
|
||||
name = "android_system_properties"
|
||||
version = "0.1.5"
|
||||
@ -130,9 +124,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
||||
|
||||
[[package]]
|
||||
name = "average"
|
||||
version = "0.15.1"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3a237a6822e1c3c98e700b6db5b293eb341b7524dcb8d227941245702b7431dc"
|
||||
checksum = "75aacce61912644dbb732271789748142bc4bf7ce6382d67bb26850516b7a391"
|
||||
dependencies = [
|
||||
"easy-cast",
|
||||
"float-ord",
|
||||
@ -328,7 +322,7 @@ dependencies = [
|
||||
"regex",
|
||||
"reqwest",
|
||||
"serde",
|
||||
"toml 0.8.23",
|
||||
"toml",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -390,23 +384,22 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "chrono"
|
||||
version = "0.4.41"
|
||||
version = "0.4.42"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
|
||||
checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2"
|
||||
dependencies = [
|
||||
"android-tzdata",
|
||||
"iana-time-zone",
|
||||
"js-sys",
|
||||
"num-traits",
|
||||
"wasm-bindgen",
|
||||
"windows-link",
|
||||
"windows-link 0.2.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clap"
|
||||
version = "4.5.45"
|
||||
version = "4.5.47"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1fc0e74a703892159f5ae7d3aac52c8e6c392f5ae5f359c70b5881d60aaac318"
|
||||
checksum = "7eac00902d9d136acd712710d71823fb8ac8004ca445a89e73a41d45aa712931"
|
||||
dependencies = [
|
||||
"clap_builder",
|
||||
"clap_derive",
|
||||
@ -414,9 +407,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "clap_builder"
|
||||
version = "4.5.44"
|
||||
version = "4.5.47"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b3e7f4214277f3c7aa526a59dd3fbe306a370daee1f8b7b8c987069cd8e888a8"
|
||||
checksum = "2ad9bbf750e73b5884fb8a211a9424a1906c1e156724260fdae972f31d70e1d6"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anstyle",
|
||||
@ -427,9 +420,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "clap_derive"
|
||||
version = "4.5.45"
|
||||
version = "4.5.47"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "14cb31bb0a7d536caef2639baa7fad459e15c3144efefa6dbd1c84562c4739f6"
|
||||
checksum = "bbfd7eae0b0f1a6e63d4b13c9c478de77c2eb546fba158ad50b4203dc24b9f9c"
|
||||
dependencies = [
|
||||
"heck",
|
||||
"proc-macro2",
|
||||
@ -494,15 +487,15 @@ checksum = "baf0a07a401f374238ab8e2f11a104d2851bf9ce711ec69804834de8af45c7af"
|
||||
|
||||
[[package]]
|
||||
name = "console"
|
||||
version = "0.15.11"
|
||||
version = "0.16.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8"
|
||||
checksum = "b430743a6eb14e9764d4260d4c0d8123087d504eeb9c48f2b2a5e810dd369df4"
|
||||
dependencies = [
|
||||
"encode_unicode",
|
||||
"libc",
|
||||
"once_cell",
|
||||
"unicode-width",
|
||||
"windows-sys 0.59.0",
|
||||
"windows-sys 0.61.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -624,9 +617,9 @@ checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
|
||||
|
||||
[[package]]
|
||||
name = "deranged"
|
||||
version = "0.4.0"
|
||||
version = "0.5.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e"
|
||||
checksum = "d630bccd429a5bb5a64b5e94f693bfc48c9f8566418fda4c494cc94f911f87cc"
|
||||
dependencies = [
|
||||
"powerfmt",
|
||||
]
|
||||
@ -924,7 +917,7 @@ dependencies = [
|
||||
"lipsum",
|
||||
"log",
|
||||
"once_cell",
|
||||
"rand 0.8.5",
|
||||
"rand 0.9.2",
|
||||
"serde",
|
||||
"wasm-logger",
|
||||
"yew",
|
||||
@ -1592,9 +1585,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hyper-util"
|
||||
version = "0.1.16"
|
||||
version = "0.1.17"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e"
|
||||
checksum = "3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"bytes",
|
||||
@ -1786,25 +1779,26 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "indexmap"
|
||||
version = "2.10.0"
|
||||
version = "2.11.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661"
|
||||
checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5"
|
||||
dependencies = [
|
||||
"equivalent",
|
||||
"hashbrown",
|
||||
"serde",
|
||||
"serde_core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "indicatif"
|
||||
version = "0.17.11"
|
||||
version = "0.18.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "183b3088984b400f4cfac3620d5e076c84da5364016b4f49473de574b2586235"
|
||||
checksum = "70a646d946d06bedbbc4cac4c218acf4bbf2d87757a784857025f4d447e4e1cd"
|
||||
dependencies = [
|
||||
"console",
|
||||
"number_prefix",
|
||||
"portable-atomic",
|
||||
"unicode-width",
|
||||
"unit-prefix",
|
||||
"web-time",
|
||||
]
|
||||
|
||||
@ -1955,9 +1949,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "js-sys"
|
||||
version = "0.3.77"
|
||||
version = "0.3.80"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
|
||||
checksum = "852f13bec5eba4ba9afbeb93fd7c13fe56147f055939ae21c43a29a0ecb2702e"
|
||||
dependencies = [
|
||||
"once_cell",
|
||||
"wasm-bindgen",
|
||||
@ -2055,11 +2049,10 @@ checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
|
||||
[[package]]
|
||||
name = "lipsum"
|
||||
version = "0.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "636860251af8963cc40f6b4baadee105f02e21b28131d76eba8e40ce84ab8064"
|
||||
source = "git+https://github.com/mgeisler/lipsum.git?branch=master#35060ef81aea4523dff34717436fc32d264d84f1"
|
||||
dependencies = [
|
||||
"rand 0.8.5",
|
||||
"rand_chacha 0.3.1",
|
||||
"rand 0.9.2",
|
||||
"rand_chacha 0.9.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -2080,9 +2073,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
version = "0.4.27"
|
||||
version = "0.4.28"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
|
||||
checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
|
||||
|
||||
[[package]]
|
||||
name = "matchit"
|
||||
@ -2240,12 +2233,6 @@ dependencies = [
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "number_prefix"
|
||||
version = "0.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
|
||||
|
||||
[[package]]
|
||||
name = "object"
|
||||
version = "0.36.7"
|
||||
@ -2313,9 +2300,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "papergrid"
|
||||
version = "0.14.0"
|
||||
version = "0.17.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b915f831b85d984193fdc3d3611505871dc139b2534530fa01c1a6a6707b6723"
|
||||
checksum = "6978128c8b51d8f4080631ceb2302ab51e32cc6e8615f735ee2f83fd269ae3f1"
|
||||
dependencies = [
|
||||
"bytecount",
|
||||
"fnv",
|
||||
@ -2473,7 +2460,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919"
|
||||
dependencies = [
|
||||
"once_cell",
|
||||
"toml_edit 0.19.15",
|
||||
"toml_edit",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -2627,9 +2614,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "regex"
|
||||
version = "1.11.1"
|
||||
version = "1.11.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
|
||||
checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912"
|
||||
dependencies = [
|
||||
"aho-corasick",
|
||||
"memchr",
|
||||
@ -2726,13 +2713,13 @@ checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746"
|
||||
name = "router"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"getrandom 0.2.16",
|
||||
"getrandom 0.3.3",
|
||||
"gloo",
|
||||
"instant",
|
||||
"lipsum",
|
||||
"log",
|
||||
"once_cell",
|
||||
"rand 0.8.5",
|
||||
"rand 0.9.2",
|
||||
"serde",
|
||||
"wasm-logger",
|
||||
"yew",
|
||||
@ -2867,16 +2854,17 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "semver"
|
||||
version = "1.0.26"
|
||||
version = "1.0.27"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
|
||||
checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
|
||||
|
||||
[[package]]
|
||||
name = "serde"
|
||||
version = "1.0.219"
|
||||
version = "1.0.225"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
|
||||
checksum = "fd6c24dee235d0da097043389623fb913daddf92c76e9f5a1db88607a0bcbd1d"
|
||||
dependencies = [
|
||||
"serde_core",
|
||||
"serde_derive",
|
||||
]
|
||||
|
||||
@ -2892,10 +2880,19 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive"
|
||||
version = "1.0.219"
|
||||
name = "serde_core"
|
||||
version = "1.0.225"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
|
||||
checksum = "659356f9a0cb1e529b24c01e43ad2bdf520ec4ceaf83047b83ddcc2251f96383"
|
||||
dependencies = [
|
||||
"serde_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive"
|
||||
version = "1.0.225"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ea936adf78b1f766949a4977b91d2f5595825bd6ec079aa9543ad2685fc4516"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@ -2904,14 +2901,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "serde_json"
|
||||
version = "1.0.143"
|
||||
version = "1.0.145"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a"
|
||||
checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
|
||||
dependencies = [
|
||||
"itoa",
|
||||
"memchr",
|
||||
"ryu",
|
||||
"serde",
|
||||
"serde_core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -2924,15 +2922,6 @@ dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_spanned"
|
||||
version = "0.6.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_spanned"
|
||||
version = "1.0.0"
|
||||
@ -3166,19 +3155,20 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tabled"
|
||||
version = "0.18.0"
|
||||
version = "0.20.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "121d8171ee5687a4978d1b244f7d99c43e7385a272185a2f1e1fa4dc0979d444"
|
||||
checksum = "e39a2ee1fbcd360805a771e1b300f78cc88fec7b8d3e2f71cd37bbf23e725c7d"
|
||||
dependencies = [
|
||||
"papergrid",
|
||||
"tabled_derive",
|
||||
"testing_table",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tabled_derive"
|
||||
version = "0.10.0"
|
||||
version = "0.11.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "52d9946811baad81710ec921809e2af67ad77719418673b2a3794932d57b7538"
|
||||
checksum = "0ea5d1b13ca6cff1f9231ffd62f15eefd72543dab5e468735f1a456728a02846"
|
||||
dependencies = [
|
||||
"heck",
|
||||
"proc-macro-error2",
|
||||
@ -3225,6 +3215,15 @@ dependencies = [
|
||||
"windows-sys 0.60.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "testing_table"
|
||||
version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0f8daae29995a24f65619e19d8d31dea5b389f3d853d8bf297bbf607cd0014cc"
|
||||
dependencies = [
|
||||
"unicode-width",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror"
|
||||
version = "1.0.69"
|
||||
@ -3267,9 +3266,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "time"
|
||||
version = "0.3.41"
|
||||
version = "0.3.43"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40"
|
||||
checksum = "83bde6f1ec10e72d583d91623c939f623002284ef622b87de38cfd546cbf2031"
|
||||
dependencies = [
|
||||
"deranged",
|
||||
"num-conv",
|
||||
@ -3280,9 +3279,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "time-core"
|
||||
version = "0.1.4"
|
||||
version = "0.1.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c"
|
||||
checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b"
|
||||
|
||||
[[package]]
|
||||
name = "timer"
|
||||
@ -3428,18 +3427,6 @@ dependencies = [
|
||||
"wasm-bindgen-futures",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml"
|
||||
version = "0.8.23"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_spanned 0.6.9",
|
||||
"toml_datetime 0.6.11",
|
||||
"toml_edit 0.22.27",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml"
|
||||
version = "0.9.5"
|
||||
@ -3448,7 +3435,7 @@ checksum = "75129e1dc5000bfbaa9fee9d1b21f974f9fbad9daec557a521ee6e080825f6e8"
|
||||
dependencies = [
|
||||
"indexmap",
|
||||
"serde",
|
||||
"serde_spanned 1.0.0",
|
||||
"serde_spanned",
|
||||
"toml_datetime 0.7.0",
|
||||
"toml_parser",
|
||||
"toml_writer",
|
||||
@ -3460,9 +3447,6 @@ name = "toml_datetime"
|
||||
version = "0.6.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml_datetime"
|
||||
@ -3484,20 +3468,6 @@ dependencies = [
|
||||
"winnow 0.5.40",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml_edit"
|
||||
version = "0.22.27"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"
|
||||
dependencies = [
|
||||
"indexmap",
|
||||
"serde",
|
||||
"serde_spanned 0.6.9",
|
||||
"toml_datetime 0.6.11",
|
||||
"toml_write",
|
||||
"winnow 0.7.12",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml_parser"
|
||||
version = "1.0.2"
|
||||
@ -3507,12 +3477,6 @@ dependencies = [
|
||||
"winnow 0.7.12",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml_write"
|
||||
version = "0.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801"
|
||||
|
||||
[[package]]
|
||||
name = "toml_writer"
|
||||
version = "1.0.2"
|
||||
@ -3615,9 +3579,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
||||
|
||||
[[package]]
|
||||
name = "trybuild"
|
||||
version = "1.0.110"
|
||||
version = "1.0.111"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "32e257d7246e7a9fd015fb0b28b330a8d4142151a33f03e6a497754f4b1f6a8e"
|
||||
checksum = "0ded9fdb81f30a5708920310bfcd9ea7482ff9cba5f54601f7a19a877d5c2392"
|
||||
dependencies = [
|
||||
"glob",
|
||||
"serde",
|
||||
@ -3625,7 +3589,7 @@ dependencies = [
|
||||
"serde_json",
|
||||
"target-triple",
|
||||
"termcolor",
|
||||
"toml 0.9.5",
|
||||
"toml",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -3679,6 +3643,12 @@ version = "0.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c"
|
||||
|
||||
[[package]]
|
||||
name = "unit-prefix"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "323402cff2dd658f39ca17c789b502021b3f18707c91cdf22e3838e1b4023817"
|
||||
|
||||
[[package]]
|
||||
name = "untrusted"
|
||||
version = "0.9.0"
|
||||
@ -3728,9 +3698,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
||||
|
||||
[[package]]
|
||||
name = "uuid"
|
||||
version = "1.18.0"
|
||||
version = "1.18.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f33196643e165781c20a5ead5582283a7dacbb87855d867fbc2df3f81eddc1be"
|
||||
checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"serde",
|
||||
@ -3834,21 +3804,22 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen"
|
||||
version = "0.2.100"
|
||||
version = "0.2.103"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
|
||||
checksum = "ab10a69fbd0a177f5f649ad4d8d3305499c42bab9aef2f7ff592d0ec8f833819"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"once_cell",
|
||||
"rustversion",
|
||||
"wasm-bindgen-macro",
|
||||
"wasm-bindgen-shared",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-backend"
|
||||
version = "0.2.100"
|
||||
version = "0.2.103"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
|
||||
checksum = "0bb702423545a6007bbc368fde243ba47ca275e549c8a28617f56f6ba53b1d1c"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"log",
|
||||
@ -3860,9 +3831,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-futures"
|
||||
version = "0.4.50"
|
||||
version = "0.4.53"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
|
||||
checksum = "a0b221ff421256839509adbb55998214a70d829d3a28c69b4a6672e9d2a42f67"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"js-sys",
|
||||
@ -3873,9 +3844,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro"
|
||||
version = "0.2.100"
|
||||
version = "0.2.103"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
|
||||
checksum = "fc65f4f411d91494355917b605e1480033152658d71f722a90647f56a70c88a0"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"wasm-bindgen-macro-support",
|
||||
@ -3883,9 +3854,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro-support"
|
||||
version = "0.2.100"
|
||||
version = "0.2.103"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
|
||||
checksum = "ffc003a991398a8ee604a401e194b6b3a39677b3173d6e74495eb51b82e99a32"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@ -3896,18 +3867,18 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-shared"
|
||||
version = "0.2.100"
|
||||
version = "0.2.103"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
|
||||
checksum = "293c37f4efa430ca14db3721dfbe48d8c33308096bd44d80ebaa775ab71ba1cf"
|
||||
dependencies = [
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-test"
|
||||
version = "0.3.50"
|
||||
version = "0.3.53"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "66c8d5e33ca3b6d9fa3b4676d774c5778031d27a578c2b007f905acf816152c3"
|
||||
checksum = "aee0a0f5343de9221a0d233b04520ed8dc2e6728dce180b1dcd9288ec9d9fa3c"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"minicov",
|
||||
@ -3918,9 +3889,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-test-macro"
|
||||
version = "0.3.50"
|
||||
version = "0.3.53"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "17d5042cc5fa009658f9a7333ef24291b1291a25b6382dd68862a7f3b969f69b"
|
||||
checksum = "a369369e4360c2884c3168d22bded735c43cccae97bbc147586d4b480edd138d"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@ -3940,9 +3911,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "web-sys"
|
||||
version = "0.3.77"
|
||||
version = "0.3.80"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
|
||||
checksum = "fbe734895e869dc429d78c4b433f8d17d95f8d05317440b4fad5ab2d33e596dc"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"wasm-bindgen",
|
||||
@ -4028,7 +3999,7 @@ checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
|
||||
dependencies = [
|
||||
"windows-implement",
|
||||
"windows-interface",
|
||||
"windows-link",
|
||||
"windows-link 0.1.3",
|
||||
"windows-result",
|
||||
"windows-strings",
|
||||
]
|
||||
@ -4061,13 +4032,19 @@ version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
|
||||
|
||||
[[package]]
|
||||
name = "windows-link"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65"
|
||||
|
||||
[[package]]
|
||||
name = "windows-registry"
|
||||
version = "0.5.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5b8a9ed28765efc97bbc954883f4e6796c33a06546ebafacbabee9696967499e"
|
||||
dependencies = [
|
||||
"windows-link",
|
||||
"windows-link 0.1.3",
|
||||
"windows-result",
|
||||
"windows-strings",
|
||||
]
|
||||
@ -4078,7 +4055,7 @@ version = "0.3.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
|
||||
dependencies = [
|
||||
"windows-link",
|
||||
"windows-link 0.1.3",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -4087,7 +4064,7 @@ version = "0.4.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
|
||||
dependencies = [
|
||||
"windows-link",
|
||||
"windows-link 0.1.3",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -4117,6 +4094,15 @@ dependencies = [
|
||||
"windows-targets 0.53.3",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows-sys"
|
||||
version = "0.61.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa"
|
||||
dependencies = [
|
||||
"windows-link 0.2.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows-targets"
|
||||
version = "0.52.6"
|
||||
@ -4139,7 +4125,7 @@ version = "0.53.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
|
||||
dependencies = [
|
||||
"windows-link",
|
||||
"windows-link 0.1.3",
|
||||
"windows_aarch64_gnullvm 0.53.0",
|
||||
"windows_aarch64_msvc 0.53.0",
|
||||
"windows_i686_gnu 0.53.0",
|
||||
@ -4260,9 +4246,6 @@ name = "winnow"
|
||||
version = "0.7.12"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wit-bindgen-rt"
|
||||
@ -4316,7 +4299,7 @@ dependencies = [
|
||||
"js-sys",
|
||||
"pinned",
|
||||
"serde",
|
||||
"thiserror 1.0.69",
|
||||
"thiserror 2.0.16",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"web-sys",
|
||||
|
||||
@ -5,9 +5,9 @@ edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
lipsum = "0.9.1"
|
||||
lipsum = { version = "0.9.1", git = "https://github.com/mgeisler/lipsum.git", branch = "master" }
|
||||
log = "0.4"
|
||||
rand = { version = "0.8", features = ["small_rng"] }
|
||||
rand = { version = "0.9", features = ["small_rng"] }
|
||||
yew = { path = "../../packages/yew" }
|
||||
yew-router = { path = "../../packages/yew-router" }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use lipsum::MarkovChain;
|
||||
use once_cell::sync::Lazy;
|
||||
use rand::distributions::Bernoulli;
|
||||
use rand::distr::Bernoulli;
|
||||
use rand::rngs::StdRng;
|
||||
use rand::seq::IteratorRandom;
|
||||
use rand::{Rng, SeedableRng};
|
||||
@ -28,12 +28,12 @@ impl Generator {
|
||||
}
|
||||
impl Generator {
|
||||
pub fn new_seed(&mut self) -> u32 {
|
||||
self.rng.gen()
|
||||
self.rng.random()
|
||||
}
|
||||
|
||||
/// [low, high)
|
||||
pub fn range(&mut self, low: u32, high: u32) -> u32 {
|
||||
self.rng.gen_range(low..high)
|
||||
self.rng.random_range(low..high)
|
||||
}
|
||||
|
||||
/// `n / d` chance
|
||||
@ -42,7 +42,7 @@ impl Generator {
|
||||
}
|
||||
|
||||
pub fn image_url(&mut self, dimension: (u32, u32), keywords: &[String]) -> String {
|
||||
let cache_buster = self.rng.gen::<u16>();
|
||||
let cache_buster = self.rng.random::<u16>();
|
||||
let (width, height) = dimension;
|
||||
format!(
|
||||
"https://source.unsplash.com/random/{}x{}?{}&sig={}",
|
||||
@ -61,13 +61,13 @@ impl Generator {
|
||||
const SYLLABLES_MIN: u32 = 1;
|
||||
const SYLLABLES_MAX: u32 = 5;
|
||||
|
||||
let n_syllables = self.rng.gen_range(SYLLABLES_MIN..SYLLABLES_MAX);
|
||||
let n_syllables = self.rng.random_range(SYLLABLES_MIN..SYLLABLES_MAX);
|
||||
let first_name = SYLLABLES
|
||||
.split_whitespace()
|
||||
.choose_multiple(&mut self.rng, n_syllables as usize)
|
||||
.join("");
|
||||
|
||||
let n_syllables = self.rng.gen_range(SYLLABLES_MIN..SYLLABLES_MAX);
|
||||
let n_syllables = self.rng.random_range(SYLLABLES_MIN..SYLLABLES_MAX);
|
||||
let last_name = SYLLABLES
|
||||
.split_whitespace()
|
||||
.choose_multiple(&mut self.rng, n_syllables as usize)
|
||||
@ -80,7 +80,7 @@ impl Generator {
|
||||
const KEYWORDS_MIN: u32 = 1;
|
||||
const KEYWORDS_MAX: u32 = 4;
|
||||
|
||||
let n_keywords = self.rng.gen_range(KEYWORDS_MIN..KEYWORDS_MAX);
|
||||
let n_keywords = self.rng.random_range(KEYWORDS_MIN..KEYWORDS_MAX);
|
||||
KEYWORDS
|
||||
.split_whitespace()
|
||||
.map(ToOwned::to_owned)
|
||||
@ -92,7 +92,7 @@ impl Generator {
|
||||
const WORDS_MAX: u32 = 8;
|
||||
const SMALL_WORD_LEN: u32 = 3;
|
||||
|
||||
let n_words = self.rng.gen_range(WORDS_MIN..WORDS_MAX);
|
||||
let n_words = self.rng.random_range(WORDS_MIN..WORDS_MAX);
|
||||
|
||||
let mut title = String::new();
|
||||
|
||||
@ -121,7 +121,7 @@ impl Generator {
|
||||
const WORDS_MIN: u32 = 7;
|
||||
const WORDS_MAX: u32 = 25;
|
||||
|
||||
let n_words = self.rng.gen_range(WORDS_MIN..WORDS_MAX);
|
||||
let n_words = self.rng.random_range(WORDS_MIN..WORDS_MAX);
|
||||
YEW_CHAIN.generate_with_rng(&mut self.rng, n_words as usize)
|
||||
}
|
||||
|
||||
@ -129,7 +129,7 @@ impl Generator {
|
||||
const SENTENCES_MIN: u32 = 3;
|
||||
const SENTENCES_MAX: u32 = 20;
|
||||
|
||||
let n_sentences = self.rng.gen_range(SENTENCES_MIN..SENTENCES_MAX);
|
||||
let n_sentences = self.rng.random_range(SENTENCES_MIN..SENTENCES_MAX);
|
||||
let mut paragraph = String::new();
|
||||
for i in 0..n_sentences {
|
||||
if i > 0 {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
use rand::{distributions, Rng};
|
||||
use rand::{distr, Rng};
|
||||
use yew::prelude::*;
|
||||
|
||||
use crate::components::author_card::AuthorCard;
|
||||
@ -59,8 +59,8 @@ pub fn AuthorList() -> Html {
|
||||
}
|
||||
|
||||
fn random_author_seeds() -> Vec<u32> {
|
||||
rand::thread_rng()
|
||||
.sample_iter(distributions::Standard)
|
||||
rand::rng()
|
||||
.sample_iter(distr::StandardUniform)
|
||||
.take(2)
|
||||
.collect()
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@ edition = "2021"
|
||||
[dependencies]
|
||||
yew = { path = "../../packages/yew", features = ["csr"] }
|
||||
zxcvbn = "3.1.0"
|
||||
time = "0.3.36"
|
||||
time = "0.3.43"
|
||||
js-sys = "0.3.70"
|
||||
web-sys = { version = "0.3", features = ["Event","EventTarget","InputEvent"] }
|
||||
wasm-bindgen = "0.2"
|
||||
|
||||
@ -6,10 +6,10 @@ license = "MIT OR Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
||||
lipsum = "0.9.1"
|
||||
lipsum = { version = "0.9.1", git = "https://github.com/mgeisler/lipsum.git", branch = "master" }
|
||||
log = "0.4"
|
||||
getrandom = { version = "0.2", features = ["js"] }
|
||||
rand = { version = "0.8", features = ["small_rng"] }
|
||||
getrandom = { version = "0.3", features = ["wasm_js"] }
|
||||
rand = { version = "0.9", features = ["small_rng"] }
|
||||
wasm-logger = "0.2"
|
||||
yew = { path = "../../packages/yew", features = ["csr"] }
|
||||
yew-router = { path = "../../packages/yew-router" }
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use lipsum::MarkovChain;
|
||||
use once_cell::sync::Lazy;
|
||||
use rand::distributions::Bernoulli;
|
||||
use rand::distr::Bernoulli;
|
||||
use rand::rngs::SmallRng;
|
||||
use rand::seq::IteratorRandom;
|
||||
use rand::{Rng, SeedableRng};
|
||||
@ -28,12 +28,12 @@ impl Generator {
|
||||
}
|
||||
impl Generator {
|
||||
pub fn new_seed(&mut self) -> u64 {
|
||||
self.rng.gen()
|
||||
self.rng.random()
|
||||
}
|
||||
|
||||
/// [low, high)
|
||||
pub fn range(&mut self, low: usize, high: usize) -> usize {
|
||||
self.rng.gen_range(low..high)
|
||||
self.rng.random_range(low..high)
|
||||
}
|
||||
|
||||
/// `n / d` chance
|
||||
@ -42,7 +42,7 @@ impl Generator {
|
||||
}
|
||||
|
||||
pub fn image_url(&mut self, dimension: (usize, usize), keywords: &[String]) -> String {
|
||||
let cache_buster = self.rng.gen::<u16>();
|
||||
let cache_buster = self.rng.random::<u16>();
|
||||
let (width, height) = dimension;
|
||||
format!(
|
||||
"https://source.unsplash.com/random/{}x{}?{}&sig={}",
|
||||
@ -61,13 +61,13 @@ impl Generator {
|
||||
const SYLLABLES_MIN: usize = 1;
|
||||
const SYLLABLES_MAX: usize = 5;
|
||||
|
||||
let n_syllables = self.rng.gen_range(SYLLABLES_MIN..SYLLABLES_MAX);
|
||||
let n_syllables = self.rng.random_range(SYLLABLES_MIN..SYLLABLES_MAX);
|
||||
let first_name = SYLLABLES
|
||||
.split_whitespace()
|
||||
.choose_multiple(&mut self.rng, n_syllables)
|
||||
.join("");
|
||||
|
||||
let n_syllables = self.rng.gen_range(SYLLABLES_MIN..SYLLABLES_MAX);
|
||||
let n_syllables = self.rng.random_range(SYLLABLES_MIN..SYLLABLES_MAX);
|
||||
let last_name = SYLLABLES
|
||||
.split_whitespace()
|
||||
.choose_multiple(&mut self.rng, n_syllables)
|
||||
@ -80,7 +80,7 @@ impl Generator {
|
||||
const KEYWORDS_MIN: usize = 1;
|
||||
const KEYWORDS_MAX: usize = 4;
|
||||
|
||||
let n_keywords = self.rng.gen_range(KEYWORDS_MIN..KEYWORDS_MAX);
|
||||
let n_keywords = self.rng.random_range(KEYWORDS_MIN..KEYWORDS_MAX);
|
||||
KEYWORDS
|
||||
.split_whitespace()
|
||||
.map(ToOwned::to_owned)
|
||||
@ -92,7 +92,7 @@ impl Generator {
|
||||
const WORDS_MAX: usize = 8;
|
||||
const SMALL_WORD_LEN: usize = 3;
|
||||
|
||||
let n_words = self.rng.gen_range(WORDS_MIN..WORDS_MAX);
|
||||
let n_words = self.rng.random_range(WORDS_MIN..WORDS_MAX);
|
||||
let mut title = String::new();
|
||||
|
||||
let words = YEW_CHAIN
|
||||
@ -120,7 +120,7 @@ impl Generator {
|
||||
const WORDS_MIN: usize = 7;
|
||||
const WORDS_MAX: usize = 25;
|
||||
|
||||
let n_words = self.rng.gen_range(WORDS_MIN..WORDS_MAX);
|
||||
let n_words = self.rng.random_range(WORDS_MIN..WORDS_MAX);
|
||||
YEW_CHAIN.generate_with_rng(&mut self.rng, n_words)
|
||||
}
|
||||
|
||||
@ -128,7 +128,7 @@ impl Generator {
|
||||
const SENTENCES_MIN: usize = 3;
|
||||
const SENTENCES_MAX: usize = 20;
|
||||
|
||||
let n_sentences = self.rng.gen_range(SENTENCES_MIN..SENTENCES_MAX);
|
||||
let n_sentences = self.rng.random_range(SENTENCES_MIN..SENTENCES_MAX);
|
||||
let mut paragraph = String::new();
|
||||
for i in 0..n_sentences {
|
||||
if i > 0 {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
use rand::{distributions, Rng};
|
||||
use rand::{distr, Rng};
|
||||
use yew::prelude::*;
|
||||
|
||||
use crate::components::author_card::AuthorCard;
|
||||
@ -75,8 +75,8 @@ impl Component for AuthorList {
|
||||
}
|
||||
|
||||
fn random_author_seeds() -> Vec<u64> {
|
||||
rand::thread_rng()
|
||||
.sample_iter(distributions::Standard)
|
||||
rand::rng()
|
||||
.sample_iter(distr::StandardUniform)
|
||||
.take(2)
|
||||
.collect()
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ required-features = ["ssr"]
|
||||
yew = { path = "../../packages/yew" }
|
||||
reqwest = { version = "0.12.8", features = ["json"] }
|
||||
serde = { version = "1.0.218", features = ["derive"] }
|
||||
uuid = { version = "1.14.0", features = ["serde"] }
|
||||
uuid = { version = "1.18.1", features = ["serde"] }
|
||||
futures = "0.3"
|
||||
bytes = "1.7"
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ yew = { path = "../../packages/yew" }
|
||||
function_router = { path = "../function_router" }
|
||||
log = "0.4"
|
||||
futures = { version = "0.3", features = ["std"], default-features = false }
|
||||
hyper-util = "0.1.9"
|
||||
hyper-util = "0.1.17"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen-futures = "0.4"
|
||||
|
||||
@ -16,7 +16,7 @@ yew = { version = "0.21.0", path = "../yew" }
|
||||
wasm-bindgen = "0.2"
|
||||
js-sys = "0.3"
|
||||
pinned = "0.1.0"
|
||||
thiserror = "1.0.37"
|
||||
thiserror = "2.0.16"
|
||||
bincode = { version = "2.0.0-rc.3", features = ["serde"] }
|
||||
wasm-bindgen-futures = "0.4"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
||||
@ -19,7 +19,7 @@ rust-version = "1.84.0"
|
||||
[dependencies]
|
||||
console_error_panic_hook = "0.1"
|
||||
gloo = "0.11"
|
||||
indexmap = { version = "2.10", features = ["std"] }
|
||||
indexmap = { version = "2.11", features = ["std"] }
|
||||
js-sys = "0.3"
|
||||
slab = "0.4"
|
||||
wasm-bindgen = "0.2"
|
||||
|
||||
@ -8,7 +8,7 @@ edition = "2021"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
rand = { version = "0.9.0", features = ["small_rng"] }
|
||||
rand = { version = "0.9.2", features = ["small_rng"] }
|
||||
getrandom = { version = "0.3.1", features = ["wasm_js"] }
|
||||
wasm-bindgen = "0.2.92"
|
||||
web-sys = { version = "0.3.70", features = ["Window"]}
|
||||
|
||||
@ -9,11 +9,11 @@ edition = "2021"
|
||||
yew = { path = "../../packages/yew", features = ["ssr"] }
|
||||
function_router = { path = "../../examples/function_router" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] }
|
||||
average = "0.15.1"
|
||||
tabled = "0.18.0"
|
||||
indicatif = "0.17.8"
|
||||
average = "0.16.0"
|
||||
tabled = "0.20.0"
|
||||
indicatif = "0.18.0"
|
||||
serde = { version = "1.0.218", features = ["derive"] }
|
||||
serde_json = "1.0.139"
|
||||
serde_json = "1.0.145"
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
|
||||
@ -6,6 +6,6 @@ publish = false
|
||||
|
||||
[dependencies]
|
||||
reqwest = { version = "0.12.12", features = ["blocking", "json"] }
|
||||
regex = "1.11.1"
|
||||
toml = "0.8.20"
|
||||
regex = "1.11.2"
|
||||
toml = "0.9.5"
|
||||
serde = { version = "1.0.218", features = ["derive"] }
|
||||
|
||||
@ -56,12 +56,13 @@ fn main() -> ExitCode {
|
||||
|
||||
println!("::group::Building {example}");
|
||||
|
||||
if !build_example(&path, &output_dir, &example) {
|
||||
let sample_success = build_example(&path, &output_dir, &example);
|
||||
|
||||
println!("::endgroup::");
|
||||
if !sample_success {
|
||||
eprintln!("::error ::{example} failed to build");
|
||||
failure = true;
|
||||
}
|
||||
|
||||
println!("::endgroup::");
|
||||
}
|
||||
|
||||
// Emit warning if any examples have outdated wasm_opt
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user