2018-09-19 01:14:04 +00:00
|
|
|
[workspace]
|
2021-06-12 05:04:15 +00:00
|
|
|
resolver = "2"
|
2018-09-19 01:14:04 +00:00
|
|
|
members = [
|
2022-10-15 02:55:36 +00:00
|
|
|
"cts_runner",
|
|
|
|
"deno_webgpu",
|
2020-08-12 18:52:21 +00:00
|
|
|
"player",
|
2023-06-10 18:35:46 +00:00
|
|
|
"examples/*",
|
2021-06-03 01:42:15 +00:00
|
|
|
"wgpu",
|
2020-08-12 18:52:21 +00:00
|
|
|
"wgpu-core",
|
2021-06-04 05:19:36 +00:00
|
|
|
"wgpu-hal",
|
2021-06-23 06:28:04 +00:00
|
|
|
"wgpu-info",
|
2020-03-11 01:06:23 +00:00
|
|
|
"wgpu-types",
|
2023-06-10 18:35:46 +00:00
|
|
|
"tests",
|
2021-09-07 22:04:28 +00:00
|
|
|
]
|
2022-10-20 05:41:17 +00:00
|
|
|
exclude = []
|
2023-06-10 18:35:46 +00:00
|
|
|
default-members = [
|
|
|
|
"examples/*",
|
|
|
|
"player",
|
|
|
|
"wgpu",
|
|
|
|
"wgpu-core",
|
|
|
|
"wgpu-hal",
|
|
|
|
"wgpu-info",
|
|
|
|
"wgpu-types",
|
|
|
|
"tests"
|
|
|
|
]
|
2021-06-03 01:42:15 +00:00
|
|
|
|
2022-10-20 05:41:17 +00:00
|
|
|
[workspace.package]
|
|
|
|
edition = "2021"
|
2023-06-06 15:08:32 +00:00
|
|
|
rust-version = "1.65"
|
2022-10-20 05:41:17 +00:00
|
|
|
keywords = ["graphics"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
homepage = "https://wgpu.rs/"
|
|
|
|
repository = "https://github.com/gfx-rs/wgpu"
|
2023-07-21 03:03:34 +00:00
|
|
|
version = "0.17.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
authors = ["wgpu developers"]
|
|
|
|
|
|
|
|
[workspace.dependencies.wgc]
|
|
|
|
package = "wgpu-core"
|
|
|
|
path = "./wgpu-core"
|
2023-07-21 03:03:34 +00:00
|
|
|
version = "0.17"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
[workspace.dependencies.wgt]
|
|
|
|
package = "wgpu-types"
|
|
|
|
path = "./wgpu-types"
|
2023-07-21 03:03:34 +00:00
|
|
|
version = "0.17"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
[workspace.dependencies.hal]
|
|
|
|
package = "wgpu-hal"
|
|
|
|
path = "./wgpu-hal"
|
2023-07-21 03:03:34 +00:00
|
|
|
version = "0.17"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
[workspace.dependencies.naga]
|
2022-10-28 15:46:43 +00:00
|
|
|
git = "https://github.com/gfx-rs/naga"
|
2023-10-03 12:56:21 +00:00
|
|
|
rev = "6668d0694cc51ee66c71c2ca3a1ab1081956299b"
|
2023-07-21 03:03:34 +00:00
|
|
|
version = "0.13.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
[workspace.dependencies]
|
2023-06-15 19:56:15 +00:00
|
|
|
anyhow = "1.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
arrayvec = "0.7"
|
2023-04-10 09:20:21 +00:00
|
|
|
async-executor = "1"
|
2023-04-05 22:24:59 +00:00
|
|
|
bitflags = "2"
|
2022-10-20 05:41:17 +00:00
|
|
|
bit-vec = "0.6"
|
2023-09-06 13:29:52 +00:00
|
|
|
bytemuck = { version = "1.14", features = ["derive"] }
|
2022-10-20 05:41:17 +00:00
|
|
|
cfg_aliases = "0.1"
|
|
|
|
cfg-if = "1"
|
|
|
|
codespan-reporting = "0.11"
|
|
|
|
ddsfile = "0.5"
|
2023-02-10 20:12:04 +00:00
|
|
|
env_logger = "0.10"
|
2023-07-20 01:29:10 +00:00
|
|
|
futures-intrusive = "0.5"
|
2023-03-01 18:46:38 +00:00
|
|
|
rustc-hash = "1.1.0"
|
2023-09-25 04:09:48 +00:00
|
|
|
glam = "0.24.2"
|
2023-01-24 18:44:15 +00:00
|
|
|
image = { version = "0.24", default-features = false, features = ["png"] }
|
2023-04-20 17:28:57 +00:00
|
|
|
# libloading 0.8 switches from `winapi` to `windows-sys`; permit either
|
2023-10-03 12:14:34 +00:00
|
|
|
libloading = ">=0.7, <0.9"
|
2022-12-20 17:52:08 +00:00
|
|
|
libc = "0.2"
|
2022-10-20 05:41:17 +00:00
|
|
|
log = "0.4"
|
2023-06-10 18:35:46 +00:00
|
|
|
nanorand = { version = "0.7", default-features = false, features = ["wyrand"] }
|
2023-06-08 15:48:06 +00:00
|
|
|
nv-flip = "0.1"
|
2023-03-01 20:41:53 +00:00
|
|
|
num-traits = { version = "0.2" }
|
2023-07-20 01:29:10 +00:00
|
|
|
noise = "0.8"
|
2022-10-20 05:41:17 +00:00
|
|
|
obj = "0.10"
|
|
|
|
# parking_lot 0.12 switches from `winapi` to `windows`; permit either
|
|
|
|
parking_lot = ">=0.11,<0.13"
|
2023-06-15 19:56:15 +00:00
|
|
|
pico-args = { version = "0.5.0", features = ["eq-separator", "short-space-opt", "combined-flags"] }
|
2023-08-21 18:26:04 +00:00
|
|
|
png = "0.17.10"
|
2023-07-20 01:29:10 +00:00
|
|
|
pollster = "0.3"
|
2022-10-20 05:41:17 +00:00
|
|
|
profiling = { version = "1", default-features = false }
|
|
|
|
raw-window-handle = "0.5"
|
2023-02-21 11:59:28 +00:00
|
|
|
renderdoc-sys = "1.0.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
ron = "0.8"
|
|
|
|
serde = "1"
|
2023-09-14 20:39:39 +00:00
|
|
|
serde_json = "1.0.107"
|
2022-10-20 05:41:17 +00:00
|
|
|
smallvec = "1"
|
|
|
|
static_assertions = "1.1.0"
|
|
|
|
thiserror = "1"
|
2023-07-21 03:03:34 +00:00
|
|
|
wgpu = { version = "0.17.0", path = "./wgpu" }
|
|
|
|
wgpu-core = { version = "0.17.0", path = "./wgpu-core" }
|
|
|
|
wgpu-example = { version = "0.17.0", path = "./examples/common" }
|
|
|
|
wgpu-test = { version = "0.17", path = "./tests"}
|
|
|
|
wgpu-types = { version = "0.17.0", path = "./wgpu-types" }
|
2023-09-28 06:40:41 +00:00
|
|
|
winit = { version = "0.28.7", features = [ "android-native-activity" ] }
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
# Vulkan dependencies
|
2023-06-07 09:11:39 +00:00
|
|
|
ash = "0.37.3"
|
2023-06-12 09:40:54 +00:00
|
|
|
gpu-alloc = "0.6"
|
2022-10-20 05:41:17 +00:00
|
|
|
gpu-descriptor = "0.2"
|
|
|
|
android_system_properties = "0.1.1"
|
|
|
|
|
|
|
|
# DX dependencies
|
|
|
|
bit-set = "0.5"
|
2022-12-20 17:23:44 +00:00
|
|
|
gpu-allocator = { version = "0.21", default_features = false, features = ["d3d12", "windows", "public-winapi"] }
|
2023-07-20 01:29:10 +00:00
|
|
|
d3d12 = "0.7.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
range-alloc = "0.1"
|
|
|
|
winapi = "0.3"
|
2023-02-10 17:17:17 +00:00
|
|
|
hassle-rs = "0.10.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
# Gles dependencies
|
2023-02-24 16:56:06 +00:00
|
|
|
khronos-egl = "4.1"
|
2023-07-17 12:40:53 +00:00
|
|
|
glow = "0.12.3"
|
2022-10-20 05:41:17 +00:00
|
|
|
glutin = "0.29.1"
|
|
|
|
|
|
|
|
# wasm32 dependencies
|
|
|
|
console_error_panic_hook = "0.1.7"
|
2023-07-20 01:29:10 +00:00
|
|
|
console_log = "1"
|
2023-07-19 20:30:14 +00:00
|
|
|
js-sys = "0.3.64"
|
|
|
|
wasm-bindgen = "0.2.87"
|
2023-02-09 17:14:15 +00:00
|
|
|
wasm-bindgen-futures = "0.4.34"
|
2022-12-09 01:02:39 +00:00
|
|
|
wasm-bindgen-test = "0.3"
|
2023-07-19 20:30:14 +00:00
|
|
|
web-sys = "0.3.64"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
|
|
|
# deno dependencies
|
2023-06-06 15:08:32 +00:00
|
|
|
deno_console = "0.106.0"
|
|
|
|
deno_core = "0.188.0"
|
|
|
|
deno_url = "0.106.0"
|
|
|
|
deno_web = "0.137.0"
|
|
|
|
deno_webidl = "0.106.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
deno_webgpu = { path = "./deno_webgpu" }
|
2023-08-17 19:57:50 +00:00
|
|
|
tokio = "1.32.0"
|
2023-09-19 07:35:12 +00:00
|
|
|
termcolor = "1.3.0"
|
2022-10-20 05:41:17 +00:00
|
|
|
|
2021-06-03 01:42:15 +00:00
|
|
|
[patch."https://github.com/gfx-rs/naga"]
|
|
|
|
#naga = { path = "../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" }
|
2020-12-03 05:30:38 +00:00
|
|
|
|
2021-06-03 01:42:15 +00:00
|
|
|
[patch.crates-io]
|
2021-12-17 04:57:21 +00:00
|
|
|
#naga = { path = "../naga" }
|
2021-12-14 15:25:57 +00:00
|
|
|
#glow = { path = "../glow" }
|
2022-03-12 17:14:18 +00:00
|
|
|
#d3d12 = { path = "../d3d12-rs" }
|
2021-06-03 01:42:15 +00:00
|
|
|
#web-sys = { path = "../wasm-bindgen/crates/web-sys" }
|
|
|
|
#js-sys = { path = "../wasm-bindgen/crates/js-sys" }
|
|
|
|
#wasm-bindgen = { path = "../wasm-bindgen" }
|
2023-06-08 15:48:06 +00:00
|
|
|
|
|
|
|
# Speed up image comparison even in debug builds
|
|
|
|
[profile.dev.package."nv-flip-sys"]
|
|
|
|
opt-level = 3
|