mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 17:19:11 +01:00
39 lines
894 B
TOML
39 lines
894 B
TOML
[package]
|
|
name = "wgpu-example-03-hdr-surface"
|
|
edition = "2024"
|
|
rust-version = "1.87"
|
|
publish = false
|
|
|
|
[lints]
|
|
|
|
[dependencies]
|
|
wgpu = "30.0.0"
|
|
winit = { version = "0.30.8", features = ["android-native-activity"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
env_logger = "0.11"
|
|
pollster = "1.0"
|
|
|
|
# macOS: observe screen-parameter changes to re-query HDR info (winit has no event for it).
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.6.3"
|
|
objc2-foundation = { version = "0.3.2", features = [
|
|
"NSNotification",
|
|
"NSOperation",
|
|
"NSString",
|
|
] }
|
|
block2 = "0.6.2"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_error_panic_hook = "0.1.5"
|
|
wasm-bindgen = "0.2.127"
|
|
wasm-bindgen-futures = "0.4.77"
|
|
web-sys = { version = "0.3.104", features = [
|
|
"console",
|
|
"Document",
|
|
"Element",
|
|
"HtmlCanvasElement",
|
|
"Location",
|
|
"Window",
|
|
] }
|