Skip to content

Commit

Permalink
Update wgpu to 0.19.3 (#5409)
Browse files Browse the repository at this point in the history
### What

WebGPU APIs are now vendored inside of wgpu, meaning the only reason we
still need unstable web-sys is clipboard support in egui.

[Changelog 0.19.3](https://github.com/gfx-rs/wgpu/releases/tag/v0.19.3)
[Changelog 0.19.2](https://github.com/gfx-rs/wgpu/releases/tag/v0.19.2)

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using newly built examples:
[app.rerun.io](https://app.rerun.io/pr/5409/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/5409/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[app.rerun.io](https://app.rerun.io/pr/5409/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!

- [PR Build Summary](https://build.rerun.io/pr/5409)
- [Docs
preview](https://rerun.io/preview/ce6d4fab8a0dfa8f465a68180a7dacc2187af736/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/ce6d4fab8a0dfa8f465a68180a7dacc2187af736/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
  • Loading branch information
Wumpf authored Mar 7, 2024
1 parent cdc16b3 commit 2a59c08
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ IS_IN_RERUN_WORKSPACE = "yes"

# web_sys_unstable_apis is required to enable the web_sys clipboard API which egui_web uses,
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
# as well as WebGPU apis.
# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
[target.wasm32-unknown-unknown]
rustflags = ["--cfg=web_sys_unstable_apis"]
17 changes: 9 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ walkdir = "2.0"
wasm-bindgen = "0.2.89"
wasm-bindgen-cli-support = "0.2.89"
wasm-bindgen-futures = "0.4.33"
# web-sys 0.3.68 contains breaking API changes in an unstable API used by wgpu
web-sys = "=0.3.67"
web-sys = "0.3"
web-time = "0.2.0"
webbrowser = "0.8"
winit = { version = "0.29.9", default-features = false }
Expand Down

0 comments on commit 2a59c08

Please sign in to comment.