revive project: add the template from learnWGPU tutorial
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
22
Cargo.toml
22
Cargo.toml
@@ -6,10 +6,26 @@ edition = "2021"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
bytemuck = { version = "1.12", features = [ "derive" ] }
|
||||
bytemuck = { version = "1.13.1", features = [ "derive" ] }
|
||||
cfg-if = "1"
|
||||
env_logger = "0.9"
|
||||
image = "0.24"
|
||||
log = "0.4"
|
||||
wgpu = "0.14"
|
||||
winit = "0.27"
|
||||
wgpu = "0.17"
|
||||
winit = "0.28.6"
|
||||
pollster ="0.3.0"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
console_error_panic_hook = "0.1.6"
|
||||
console_log = "1.0"
|
||||
wgpu = { version = "0.17", features = ["webgl"]}
|
||||
wasm-bindgen = "0.2"
|
||||
wasm-bindgen-futures = "0.4.30"
|
||||
web-sys = { version = "0.3", features = [
|
||||
"Document",
|
||||
"Window",
|
||||
"Element",
|
||||
]}
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
Reference in New Issue
Block a user