Skip to content

Commit

Permalink
Rewrite Example Event Loop (#4634)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald authored Nov 6, 2023
1 parent dfa7e2f commit 8547226
Show file tree
Hide file tree
Showing 5 changed files with 487 additions and 520 deletions.
12 changes: 12 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ ctor = "0.2"
# https://github.com/SiegeEngine/ddsfile/issues/15 (Updated dependencies)
ddsfile = { version = "0.5.2-unstable", git = "https://github.com/SiegeEngine/ddsfile.git", rev = "9b597930edc00502391cbb1a39708dadde0fd0ff" }
env_logger = "0.10"
fern = "0.6"
flume = "0.11"
futures-lite = "1"
futures-intrusive = "0.5"
Expand Down Expand Up @@ -160,6 +161,7 @@ js-sys = "0.3.65"
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.38"
wasm-bindgen-test = "0.3"
web-time = "0.2.3"
web-sys = "0.3.64"

# deno dependencies
Expand Down
3 changes: 3 additions & 0 deletions examples/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@ license.workspace = true
publish = false

[dependencies]
cfg-if.workspace = true
env_logger.workspace = true
log.workspace = true
pollster.workspace = true
png.workspace = true
web-time.workspace = true
winit.workspace = true
wgpu.workspace = true
wgpu-test.workspace = true

[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook.workspace = true
console_log.workspace = true
fern.workspace = true
js-sys.workspace = true
wasm-bindgen.workspace = true
wasm-bindgen-futures.workspace = true
Expand Down
Loading

0 comments on commit 8547226

Please sign in to comment.