2023-06-10 18:35:46 +00:00
|
|
|
[package]
|
2023-11-23 10:26:42 +00:00
|
|
|
name = "wgpu-examples"
|
2023-06-10 18:35:46 +00:00
|
|
|
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
|
|
|
|
|
2023-11-23 10:26:42 +00:00
|
|
|
[lib]
|
|
|
|
path = "src/lib.rs"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "wgpu-examples"
|
|
|
|
path = "src/main.rs"
|
|
|
|
test = false
|
|
|
|
|
2023-06-10 18:35:46 +00:00
|
|
|
[dependencies]
|
2023-11-23 10:26:42 +00:00
|
|
|
bytemuck.workspace = true
|
2023-11-06 01:46:18 +00:00
|
|
|
cfg-if.workspace = true
|
2023-11-23 10:26:42 +00:00
|
|
|
encase = { workspace = true, features = ["glam"] }
|
|
|
|
flume.workspace = true
|
|
|
|
getrandom.workspace = true
|
|
|
|
glam.workspace = true
|
2023-11-27 10:40:37 +00:00
|
|
|
ktx2.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
log.workspace = true
|
2023-11-23 10:26:42 +00:00
|
|
|
nanorand.workspace = true
|
|
|
|
noise.workspace = true
|
|
|
|
obj.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
png.workspace = true
|
2023-11-23 10:26:42 +00:00
|
|
|
pollster.workspace = true
|
2023-11-06 01:46:18 +00:00
|
|
|
web-time.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
wgpu.workspace = true
|
2023-11-23 10:26:42 +00:00
|
|
|
winit.workspace = true
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-06-10 18:35:46 +00:00
|
|
|
wgpu-test.workspace = true
|
|
|
|
|
2023-11-25 22:20:11 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
env_logger.workspace = true
|
|
|
|
|
2023-06-10 18:35:46 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
console_error_panic_hook.workspace = true
|
|
|
|
console_log.workspace = true
|
2023-11-06 01:46:18 +00:00
|
|
|
fern.workspace = true
|
2023-06-10 18:35:46 +00:00
|
|
|
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",
|
2023-11-23 10:26:42 +00:00
|
|
|
"ImageData",
|
2023-06-10 18:35:46 +00:00
|
|
|
"Response",
|
2023-11-23 10:26:42 +00:00
|
|
|
"HtmlImageElement",
|
2023-06-10 18:35:46 +00:00
|
|
|
"WebGl2RenderingContext",
|
2023-11-23 10:26:42 +00:00
|
|
|
"CanvasRenderingContext2d",
|
2023-06-10 18:35:46 +00:00
|
|
|
] }
|
2023-11-25 22:20:11 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
|
|
wasm-bindgen-test.workspace = true
|