1
0
Fork 0
wgpu-rs/Cargo.toml

51 lines
No EOL
1 KiB
TOML

[package]
name = "tuto1"
version = "0.1.0"
authors = ["Florian RICHER <florian.richer@unova.fr>"]
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
render = { path = "crates/render" }
cfg-if = "1"
anyhow = "1.0"
bytemuck = { version = "1.13", features = [ "derive" ] }
cgmath = "0.18"
env_logger = "0.10"
pollster = "0.3.0"
log = "0.4"
rayon = "1.7"
tobj = { version = "3.2", features = ["async"]}
wgpu = { version = "0.15" }
winit = "0.28"
instant = "0.1"
async-std = "1.12"
profiling = "1.0"
tracy-client = "0.15"
[dependencies.image]
version = "0.24"
default-features = false
features = ["png", "jpeg"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
reqwest = { version = "0.11" }
console_error_panic_hook = "0.1"
console_log = "1.0.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",
"Location",
]}
[build-dependencies]
anyhow = "1.0"
fs_extra = "1.3"
glob = "0.3"