Skip to content

Commit

Permalink
Deps: Update other wasm deps and workaround features bug in wasm-bind…
Browse files Browse the repository at this point in the history
…gen-futures 0.4.46.
  • Loading branch information
kpreid committed Nov 30, 2024
1 parent 60d42c2 commit 520252c
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 28 deletions.
35 changes: 18 additions & 17 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ tokio = { version = "1.28.0", default-features = false }
trycmd = "0.15.4" # keep in sync with `snapbox`
unicode-segmentation = { version = "1.10.1", default-features = false }
unicode-width = { version = "0.2", default-features = false }
wasm-bindgen-futures = { version = "0.4.45", default-features = false }
# explicitly enabling "std" needed for <https://github.com/rustwasm/wasm-bindgen/issues/4303>
wasm-bindgen-futures = { version = "0.4.46", default-features = false, features = ["std"] }
web-time = { version = "1.1.0", default-features = false }
wgpu = { version = "23.0.0", default-features = false, features = ["wgsl"] }
yield-progress = { version = "0.1.6", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion all-is-cubes-gpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ resource = "0.5.0"
send_wrapper = { workspace = true, features = ["futures"] }
wasm-bindgen-futures = { workspace = true }
# For initializing tests on web. (This is not a dev-dependency because some of said tests are not in this package.)
web-sys = { version = "0.3.72", features = ["OffscreenCanvas"] }
web-sys = { version = "0.3.73", features = ["OffscreenCanvas"] }
web-time = { workspace = true }
wgpu = { workspace = true, optional = true }

Expand Down
13 changes: 7 additions & 6 deletions all-is-cubes-wasm/Cargo.lock

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

6 changes: 3 additions & 3 deletions all-is-cubes-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ futures-core = { version = "0.3.31", default-features = false, features = ["allo
# Feature enabling for indirect dependency all-is-cubes → rand → getrandom,
# as well as our direct dependency
getrandom = { version = "0.2.7", features = ["js"] }
js-sys = "0.3.72"
js-sys = "0.3.73"
log = { version = "0.4.17", default-features = false }
rand = { version = "0.8.3", default-features = false, features = ["std", "std_rng"] }
send_wrapper = { version = "0.6.0", default-features = false }
wasm-bindgen = "0.2.96"
wasm-bindgen-futures = "0.4.45"
wasm-bindgen-futures = "0.4.46"
web-time = { version = "1.1.0" }
# Must be the same version as in the main workspace, i.e. as in all-is-cubes-gpu.
wgpu = { version = "23.0.0", default-features = false, features = ["webgpu", "webgl"] }
# Feature enabling
yield-progress = { version = "0.1.6", features = ["log_hiccups"] }

[dependencies.web-sys]
version = "0.3.72"
version = "0.3.73"
features = [
"console",
"AddEventListenerOptions",
Expand Down

0 comments on commit 520252c

Please sign in to comment.