mirror of https://github.com/sotrh/learn-wgpu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
694 B
TOML
37 lines
694 B
TOML
[package]
|
|
name = "tutorial3-pipeline"
|
|
version = "0.1.0"
|
|
authors = ["Ben Hansen <bhbenjaminhansen@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
cfg-if = "1"
|
|
winit = "0.27"
|
|
env_logger = "0.10"
|
|
log = "0.4"
|
|
wgpu = "0.15"
|
|
pollster = "0.2"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_error_panic_hook = "0.1.6"
|
|
console_log = "0.2.0"
|
|
wgpu = { version = "0.15", features = ["webgl"]}
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
web-sys = { version = "0.3", features = [
|
|
"Document",
|
|
"Window",
|
|
"Element",
|
|
]}
|
|
|
|
[[bin]]
|
|
name = "tutorial3-pipeline"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "tutorial3-challenge"
|
|
path = "src/challenge.rs"
|