pteropus/Cargo.toml

32 lines
727 B
TOML

[package]
name = "pteropus"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
winit = { version = "0.30.3", features = ["rwh_06"] }
log = "0.4.22"
[target.'cfg(target_arch = "x86_64")'.dependencies]
wgpu = "0.20.1"
env_logger = "0.11.3"
futures = { version = "0.3.30", features = ["executor"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "0.20.1", features = ["webgl"]}
wasm-bindgen = "0.2.84"
wasm-bindgen-futures = "0.4.42"
console_log = "1.0"
console_error_panic_hook = "0.1.7"
web-sys = { version = "0.3", features = [
"Document",
"Window",
"Element",
]}
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.34"