egui/scripts
Simon Niedermayr c9b24d5a5c
Update to wgpu 0.20 (#4433)
updates the wgpu version to 0.20 and changes the API calls accordingly. 
I had to update wasm-bindgen to "0.2.92". Otherwise, I got this error
for the demo app:
```
error: failed to select a version for `wasm-bindgen`.
    ... required by package `js-sys v0.3.69`
    ... which satisfies dependency `js-sys = "^0.3.69"` of package `eframe v0.27.2 (/home/user/Projects/egui/crates/eframe)`
    ... which satisfies path dependency `eframe` (locked to 0.27.2) of package `confirm_exit v0.1.0 (/home/user/Projects/egui/examples/confirm_exit)`
versions that meet the requirements `^0.2.92` are: 0.2.92

all possible versions conflict with previously selected packages.

  previously selected package `wasm-bindgen v0.2.90`
    ... which satisfies dependency `wasm-bindgen = "=0.2.90"` of package `egui_demo_app v0.27.2 (/home/user/Projects/egui/crates/egui_demo_app)`

failed to select a version for `wasm-bindgen` which could resolve this conflict
```

Why is it locked to this version right now?

I ran the tests, checked the web demo and my own projects, and
everything seems to work fine with wgpu 0.20.

---------

Co-authored-by: Andreas Reich <r_andreas2@web.de>
2024-04-30 11:47:12 +02:00
..
clippy_wasm Update to Rust 1.76 (#4411) 2024-04-25 15:51:01 +02:00
build_demo_web.sh Update wgpu to 0.19 (#3824) 2024-01-19 10:14:13 +01:00
cargo_deny.sh Add `xtask` crate (#4293) 2024-04-21 19:26:16 +02:00
check.sh Replace cargo-cranky with workspace lints (#4413) 2024-04-25 17:24:50 +02:00
clippy_wasm.sh Replace cargo-cranky with workspace lints (#4413) 2024-04-25 17:24:50 +02:00
docs.sh Rename `sh/` folder to `scripts/` 2023-04-18 17:10:52 +02:00
find_bloat.sh Rename `sh/` folder to `scripts/` 2023-04-18 17:10:52 +02:00
generate_changelog.py Release 0.27.1 (#4264) 2024-03-29 13:12:26 +01:00
generate_example_screenshots.sh Update example screenshots 2024-02-05 13:01:10 +01:00
lint.py Enforce writing username in TODO comments (#4235) 2024-03-26 11:48:24 +01:00
setup_web.sh Update to wgpu 0.20 (#4433) 2024-04-30 11:47:12 +02:00
start_server.sh Rename `docs/` to `web_demo/` 2023-11-16 16:44:30 +01:00
wasm_bindgen_check.sh Update wgpu to 0.19 (#3824) 2024-01-19 10:14:13 +01:00
wasm_size.sh Rename `docs/` to `web_demo/` 2023-11-16 16:44:30 +01:00