5 "Dzmitry Malyshau <kvark@mozilla.com>",
6 "Joshua Groves <josh@joshgroves.com>",
19 git = "https://github.com/gfx-rs/wgpu"
20 rev = "64a61ee5c69569bbb3db03563997e88a229eba17"
21 # TODO: remove the replay feature on the next update containing https://github.com/gfx-rs/wgpu/pull/5182
22 features = ["serde", "replay", "trace", "strict_asserts", "wgsl", "api_log_info"]
24 # We want the wgpu-core Metal backend on macOS and iOS.
25 # (We should consider also enabling "vulkan" for Vulkan Portability.)
26 [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.wgc]
28 git = "https://github.com/gfx-rs/wgpu"
29 rev = "64a61ee5c69569bbb3db03563997e88a229eba17"
32 # We want the wgpu-core Direct3D backends on Windows.
33 [target.'cfg(windows)'.dependencies.wgc]
35 git = "https://github.com/gfx-rs/wgpu"
36 rev = "64a61ee5c69569bbb3db03563997e88a229eba17"
39 # We want the wgpu-core Vulkan backend on Linux and Windows.
40 [target.'cfg(any(windows, all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies.wgc]
42 git = "https://github.com/gfx-rs/wgpu"
43 rev = "64a61ee5c69569bbb3db03563997e88a229eba17"
47 package = "wgpu-types"
48 git = "https://github.com/gfx-rs/wgpu"
49 rev = "64a61ee5c69569bbb3db03563997e88a229eba17"
53 git = "https://github.com/gfx-rs/wgpu"
54 rev = "64a61ee5c69569bbb3db03563997e88a229eba17"
55 features = ["oom_panic", "device_lost_panic", "internal_error_panic"]
57 [target.'cfg(windows)'.dependencies]
58 windows = { version = "0.58", default-features = false, features = ["Win32_Graphics_Direct3D12"]}
65 nsstring = { path = "../../xpcom/rust/nsstring" }
66 static_prefs = { path = "../../modules/libpref/init/static_prefs" }