1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
17 authors = ["gfx-rs developers"]
18 description = "WebGPU hardware abstraction layer"
19 homepage = "https://wgpu.rs/"
21 keywords = ["graphics"]
22 license = "MIT OR Apache-2.0"
23 repository = "https://github.com/gfx-rs/wgpu"
25 [package.metadata.docs.rs]
36 "x86_64-unknown-linux-gnu",
37 "x86_64-apple-darwin",
38 "x86_64-pc-windows-msvc",
39 "wasm32-unknown-unknown",
49 required-features = ["gles"]
56 parking_lot = ">=0.11,<0.13"
57 raw-window-handle = "0.6"
69 [dependencies.profiling]
71 default-features = false
75 path = "../wgpu-types"
76 package = "wgpu-types"
83 [dev-dependencies.naga]
86 features = ["wgsl-in"]
88 [dev-dependencies.winit]
90 features = ["android-native-activity"]
97 device_lost_panic = []
107 "winapi/d3d12shader",
108 "winapi/d3d12sdklayers",
111 dxc_shader_compiler = ["hassle-rs"]
112 fragile-send-sync-non-atomic-wasm = ["wgt/fragile-send-sync-non-atomic-wasm"]
121 internal_error_panic = []
122 link = ["metal/link"]
139 "android_system_properties",
141 windows_rs = ["gpu-allocator"]
143 [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies]
145 wasm-bindgen = "0.2.87"
147 [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.web-sys]
152 "WebGl2RenderingContext",
156 [target."cfg(any(target_os=\"macos\", target_os=\"ios\"))".dependencies]
157 core-graphics-types = "0.1"
160 [target."cfg(any(target_os=\"macos\", target_os=\"ios\"))".dependencies.block]
164 [target."cfg(any(target_os=\"macos\", target_os=\"ios\"))".dependencies.metal]
166 git = "https://github.com/gfx-rs/metal-rs"
167 rev = "ff8fd3d6dc7792852f8a015458d7e6d42d7fb352"
169 [target."cfg(not(target_arch = \"wasm32\"))".dependencies.ash]
173 [target."cfg(not(target_arch = \"wasm32\"))".dependencies.gpu-alloc]
177 [target."cfg(not(target_arch = \"wasm32\"))".dependencies.gpu-descriptor]
181 [target."cfg(not(target_arch = \"wasm32\"))".dependencies.khronos-egl]
183 features = ["dynamic"]
186 [target."cfg(not(target_arch = \"wasm32\"))".dependencies.libloading]
187 version = ">=0.7, <0.9"
190 [target."cfg(not(target_arch = \"wasm32\"))".dependencies.renderdoc-sys]
194 [target."cfg(not(target_arch = \"wasm32\"))".dependencies.smallvec]
199 [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies]
202 [target."cfg(target_os = \"android\")".dependencies.android_system_properties]
206 [target."cfg(target_os = \"android\")".dependencies.ndk-sys]
210 [target."cfg(target_os = \"emscripten\")".dependencies.khronos-egl]
217 [target."cfg(target_os = \"emscripten\")".dependencies.libloading]
218 version = ">=0.7, <0.9"
221 [target."cfg(unix)".dependencies]
224 [target."cfg(windows)".dependencies.bit-set]
228 [target."cfg(windows)".dependencies.d3d12]
231 features = ["libloading"]
234 [target."cfg(windows)".dependencies.glutin_wgl_sys]
238 [target."cfg(windows)".dependencies.gpu-allocator]
245 default_features = false
247 [target."cfg(windows)".dependencies.hassle-rs]
251 [target."cfg(windows)".dependencies.range-alloc]
255 [target."cfg(windows)".dependencies.winapi]