Files
wgpu/examples/common/Cargo.toml
Connor Fitzgerald 10172e1f38 Move Examples and Tests to Their Own Crates (#3841)
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-06-10 18:35:46 +00:00

43 lines
1.0 KiB
TOML

[package]
name = "wgpu-example"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Common example code"
homepage.workspace = true
repository.workspace = true
keywords.workspace = true
license.workspace = true
publish = false
[dependencies]
env_logger.workspace = true
log.workspace = true
pollster.workspace = true
png.workspace = true
winit.workspace = true
wgpu.workspace = true
wgpu-test.workspace = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-executor.workspace = true
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook.workspace = true
console_log.workspace = true
js-sys.workspace = true
wasm-bindgen.workspace = true
wasm-bindgen-futures.workspace = true
hal = { workspace = true, optional = true }
# We need these features in the framework examples and tests
web-sys = { workspace = true, features = [
"Location",
"Blob",
"RequestInit",
"RequestMode",
"Request",
"Response",
"WebGl2RenderingContext",
"CanvasRenderingContext2d"
] }