updated the dependencies - maintaining compatibility and tests (#4363)
* Update dependencies in Cargo.lock * added in the missing bevy example which was included in recent merge * undo unneccessary library installation in gh actions * cleaned up further * Update dependencies in Cargo.toml and Cargo.lock askana_escape to 0.13 * updated code to make tests work * updated the wgpu texture example * replaced all direct reference with use * fixed wgpu and jsframework errors in benches and examples * Fix: Import black_box from std::hint * grand finale upgrade * updated cargo.lock * Bump hyper-util to 0.1.15 and plist to 1.7.4 * remove some unused swc dependencies and add a command to update them in the future --------- Co-authored-by: Evan Almloff <evanalmloff@gmail.com> Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
27 files changed
+774
-963
No files matched your search
+2
-2
@@ -7,7 +7,7 @@
|
||||
//! If you `go-to-definition` on the `svg` element, you'll see its custom namespace.
|
||||
|
||||
use dioxus::prelude::*;
|
||||
use rand::{thread_rng, Rng};
|
||||
use rand::{rng, Rng};
|
||||
|
||||
fn main() {
|
||||
dioxus::launch(|| {
|
||||
@@ -42,7 +42,7 @@ fn Dice() -> Element {
|
||||
view_box: "-1000 -1000 2000 2000",
|
||||
onclick: move |event| {
|
||||
event.prevent_default();
|
||||
value.set(thread_rng().gen_range(1..=6))
|
||||
value.set(rng().random_range(1..=6))
|
||||
},
|
||||
rect { x: -1000, y: -1000, width: 2000, height: 2000, rx: 200, fill: "#aaa" }
|
||||
for ((x, y), _) in DOTS.iter().zip(active_dots.read().iter()).filter(|(_, &active)| active) {
|
||||
|
||||
Reference in new issue
Block a user