[package] name = "tutorial4-buffer" version = "0.1.0" authors = ["Ben Hansen "] edition = "2018" [lib] crate-type = ["cdylib", "rlib"] [dependencies] cfg-if = "1" winit = "0.28" wgpu = "0.17" env_logger = "0.10" log = "0.4" pollster = "0.3" # NEW! bytemuck = { version = "1.12", features = [ "derive" ] } [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1" console_log = "1.0" wgpu = { version = "0.17", features = ["webgl"]} wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" web-sys = { version = "0.3", features = [ "Document", "Window", "Element", ]} [build-dependencies] anyhow = "1.0" fs_extra = "1.2" glob = "0.3" [[bin]] name = "tutorial4-buffer" path = "src/main.rs" [[bin]] name = "tutorial4-challenge" path = "src/challenge.rs"