mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-10 01:10:28 +00:00
51 lines
939 B
TOML
51 lines
939 B
TOML
[package]
|
|
name = "tutorial7-instancing"
|
|
version = "0.1.0"
|
|
authors = ["Ben Hansen <bhbenjaminhansen@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
cfg-if = "1"
|
|
anyhow = "1.0"
|
|
bytemuck = { version = "1.4", features = [ "derive" ] }
|
|
cgmath = "0.18"
|
|
env_logger = "0.9"
|
|
log = "0.4"
|
|
pollster = "0.2"
|
|
wgpu = "0.13"
|
|
winit = "0.26"
|
|
|
|
[dependencies.image]
|
|
version = "0.24"
|
|
default-features = false
|
|
features = ["png", "jpeg"]
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_error_panic_hook = "0.1"
|
|
console_log = "0.2"
|
|
wgpu = { version = "0.13", 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 = "tutorial7-instancing"
|
|
path = "src/main.rs"
|
|
|
|
|
|
[[bin]]
|
|
name = "tutorial7-challenge"
|
|
path = "src/challenge.rs"
|