-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-DependenciesA change to the crates that Bevy depends onA change to the crates that Bevy depends on
Description
The bevy_render
package has a strict pin on web-sys
:
# web-sys doesn't follow semver for the WebGPU APIs as they are unstable
# Make sure that WebGPU builds work when changing this!
web-sys = { version = "=0.3.67", features = [
This is because wgpu
depends on unstable web-sys
features which don't follow SemVer.
However things have changed, wgpu
has now vendored those bindings. This was also backported and released as v0.19.3.
This means that pinning web-sys
is no longer required. The following can be done:
- Update the
wgpu
requirement inbevy_render
from0.19.1
to0.19.3
. - Remove the
web-sys
pin.
Doing so will unlock the ability for unrelated projects that have bevy_render
in their workspace to finally update their web-sys
.
Also, an additional benefit of the aforementioned wgpu
change is that wgpu
no longer requires you to have --cfg=web_sys_unstable_apis
in your RUSTFLAGS
.
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-DependenciesA change to the crates that Bevy depends onA change to the crates that Bevy depends on