[workspace] resolver = "2" members = [ "cts_runner", "deno_webgpu", # default members "benches", "examples", "lock-analyzer", "naga-cli", "naga", "naga/fuzz", "naga/hlsl-snapshots", "player", "tests", "wgpu-core", "wgpu-hal", "wgpu-info", "wgpu-macros", "wgpu-types", "wgpu", ] exclude = [] default-members = [ "benches", "examples", "lock-analyzer", "naga-cli", "naga", "naga/fuzz", "naga/hlsl-snapshots", "player", "tests", "wgpu-core", "wgpu-hal", "wgpu-info", "wgpu-macros", "wgpu-types", "wgpu", ] [workspace.lints.clippy] manual_c_str_literals = "allow" ref_as_ptr = "warn" [workspace.package] edition = "2021" rust-version = "1.83" keywords = ["graphics"] license = "MIT OR Apache-2.0" homepage = "https://wgpu.rs/" repository = "https://github.com/gfx-rs/wgpu" version = "24.0.0" authors = ["gfx-rs developers"] [workspace.dependencies.wgc] package = "wgpu-core" path = "./wgpu-core" version = "24.0.0" [workspace.dependencies.wgt] package = "wgpu-types" path = "./wgpu-types" version = "24.0.0" [workspace.dependencies.hal] package = "wgpu-hal" path = "./wgpu-hal" version = "24.0.0" [workspace.dependencies.naga] path = "./naga" version = "24.0.0" [workspace.dependencies] anyhow = "1.0.95" argh = "0.1.13" arrayvec = "0.7" bincode = "1" bit-vec = "0.8" bitflags = "2.7" bytemuck = { version = "1.21", features = ["derive", "min_const_generics"] } cfg_aliases = "0.2.1" cfg-if = "1" criterion = "0.5" codespan-reporting = "0.11" ctor = "0.2" document-features = "0.2.10" encase = "0.10.0" env_logger = "0.11" fern = "0.7" flume = "0.11" futures-lite = "2" getrandom = "0.2" glam = "0.29" heck = "0.5.0" image = { version = "0.24", default-features = false, features = ["png"] } indexmap = "2" itertools = { version = "0.13.0" } ktx2 = "0.3" libc = "0.2" libloading = "0.8" libtest-mimic = "0.8.1" log = "0.4" nanorand = { version = "0.7", default-features = false, features = ["wyrand"] } # https://github.com/Razaekel/noise-rs/issues/335 (Updated dependencies) noise = { version = "0.8", git = "https://github.com/Razaekel/noise-rs.git", rev = "c6942d4fb70af26db4441edcf41f90fa115333f2" } nv-flip = "0.1" obj = "0.10" once_cell = "1.20.2" # Firefox has 3.4.0 vendored, so we allow that version in our dependencies ordered-float = ">=3,<=4.6" parking_lot = "0.12.1" pico-args = { version = "0.5.0", features = [ "eq-separator", "short-space-opt", "combined-flags", ] } png = "0.17.16" pollster = "0.4" profiling = { version = "1", default-features = false } raw-window-handle = "0.6" rayon = "1" renderdoc-sys = "1.1.0" ron = "0.8" # rustc-hash 2.0 is a completely different hasher with different performance characteristics serde_json = "1.0.134" rustc-hash = "1" serde = { version = "1", default-features = false } smallvec = "1" static_assertions = "1.1.0" strum = { version = "0.26.0", features = ["derive"] } trybuild = "1" tracy-client = "0.17" thiserror = "2" wgpu = { version = "24.0.0", path = "./wgpu", default-features = false, features = [ "serde", "wgsl", "dx12", "metal", "static-dxc", ] } wgpu-core = { version = "24.0.0", path = "./wgpu-core" } wgpu-macros = { version = "24.0.0", path = "./wgpu-macros" } wgpu-test = { version = "24.0.0", path = "./tests" } wgpu-types = { version = "24.0.0", path = "./wgpu-types" } winit = { version = "0.29", features = ["android-native-activity"] } # Metal dependencies metal = "0.31.0" block = "0.1" core-graphics-types = "0.1" objc = "0.2.5" # Vulkan dependencies android_system_properties = "0.1.1" ash = "0.38.0" gpu-alloc = "0.6" gpu-descriptor = "0.3" # DX dependencies bit-set = "0.8" gpu-allocator = { version = "0.27", default-features = false } range-alloc = "0.1" mach-dxcompiler-rs = { version = "0.1.4", default-features = false } windows-core = { version = "0.58", default-features = false } # Gles dependencies khronos-egl = "6" glow = "0.16" glutin = { version = "0.31", default-features = false } glutin-winit = { version = "0.4", default-features = false } glutin_wgl_sys = "0.6" # DX and GLES dependencies windows = { version = "0.58", default-features = false } # wasm32 dependencies console_error_panic_hook = "0.1.7" console_log = "1" js-sys = { version = "0.3.70", default-features = false } wasm-bindgen = "0.2.97" wasm-bindgen-futures = "0.4.45" wasm-bindgen-test = "0.3" web-sys = { version = "0.3.74", default-features = false } web-time = "0.2.4" # deno dependencies deno_console = "0.179.0" deno_core = "0.321.0" deno_url = "0.179.0" deno_web = "0.210.0" deno_webidl = "0.179.0" deno_webgpu = { version = "0.146.0", path = "./deno_webgpu" } tokio = "1.41.1" termcolor = "1.4.1" # android dependencies ndk-sys = "0.5.0" [patch."https://github.com/gfx-rs/naga"] [patch."https://github.com/zakarumych/gpu-descriptor"] #gpu-descriptor = { path = "../gpu-descriptor/gpu-descriptor" } [patch."https://github.com/zakarumych/gpu-alloc"] #gpu-alloc = { path = "../gpu-alloc/gpu-alloc" } [patch.crates-io] #glow = { path = "../glow" } #web-sys = { path = "../wasm-bindgen/crates/web-sys" } #js-sys = { path = "../wasm-bindgen/crates/js-sys" } #wasm-bindgen = { path = "../wasm-bindgen" } [profile.release] lto = "thin" debug = true # Speed up image comparison even in debug builds [profile.dev.package."nv-flip-sys"] opt-level = 3