wgpu/Cargo.toml

168 lines
3.9 KiB
TOML
Raw Normal View History

[workspace]
2021-06-12 05:04:15 +00:00
resolver = "2"
members = [
2022-10-15 02:55:36 +00:00
"cts_runner",
"deno_webgpu",
"player",
"examples/*",
2021-06-03 01:42:15 +00:00
"wgpu",
"wgpu-core",
2021-06-04 05:19:36 +00:00
"wgpu-hal",
2021-06-23 06:28:04 +00:00
"wgpu-info",
"wgpu-types",
"tests",
2021-09-07 22:04:28 +00:00
]
exclude = []
default-members = [
"examples/*",
"player",
"wgpu",
"wgpu-core",
"wgpu-hal",
"wgpu-info",
"wgpu-types",
"tests"
]
2021-06-03 01:42:15 +00:00
[workspace.package]
edition = "2021"
2023-06-06 15:08:32 +00:00
rust-version = "1.65"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
homepage = "https://wgpu.rs/"
repository = "https://github.com/gfx-rs/wgpu"
version = "0.16.0"
authors = ["wgpu developers"]
[workspace.dependencies.wgc]
package = "wgpu-core"
path = "./wgpu-core"
version = "0.16"
[workspace.dependencies.wgt]
package = "wgpu-types"
path = "./wgpu-types"
version = "0.16"
[workspace.dependencies.hal]
package = "wgpu-hal"
path = "./wgpu-hal"
version = "0.16"
[workspace.dependencies.naga]
2022-10-28 15:46:43 +00:00
git = "https://github.com/gfx-rs/naga"
rev = "409239c0e2313bfd0dc4fd64f8c3021185ccef1b"
version = "0.12.0"
[workspace.dependencies]
anyhow = "1.0"
arrayvec = "0.7"
async-executor = "1"
bitflags = "2"
bit-vec = "0.6"
bytemuck = { version = "1.13", features = ["derive"] }
cfg_aliases = "0.1"
cfg-if = "1"
codespan-reporting = "0.11"
ddsfile = "0.5"
env_logger = "0.10"
2023-07-20 01:29:10 +00:00
futures-intrusive = "0.5"
rustc-hash = "1.1.0"
2023-07-20 01:29:10 +00:00
glam = "0.24.1"
image = { version = "0.24", default-features = false, features = ["png"] }
# libloading 0.8 switches from `winapi` to `windows-sys`; permit either
libloading = ">=0.7,<0.9"
libc = "0.2"
log = "0.4"
nanorand = { version = "0.7", default-features = false, features = ["wyrand"] }
nv-flip = "0.1"
num-traits = { version = "0.2" }
2023-07-20 01:29:10 +00:00
noise = "0.8"
obj = "0.10"
# parking_lot 0.12 switches from `winapi` to `windows`; permit either
parking_lot = ">=0.11,<0.13"
pico-args = { version = "0.5.0", features = ["eq-separator", "short-space-opt", "combined-flags"] }
png = "0.17.9"
2023-07-20 01:29:10 +00:00
pollster = "0.3"
profiling = { version = "1", default-features = false }
raw-window-handle = "0.5"
renderdoc-sys = "1.0.0"
ron = "0.8"
serde = "1"
serde_json = "1.0.96"
smallvec = "1"
static_assertions = "1.1.0"
thiserror = "1"
wgpu = { version = "0.16", path = "./wgpu" }
wgpu-example = { version = "0.16", path = "./examples/common" }
wgpu-test = { version = "0.16", path = "./tests"}
winit = "0.27.1"
# Metal dependencies
block = "0.1"
metal = "0.25.0"
objc = "0.2.5"
core-graphics-types = "0.1"
# Vulkan dependencies
ash = "0.37.3"
gpu-alloc = "0.6"
gpu-descriptor = "0.2"
android_system_properties = "0.1.1"
# DX dependencies
bit-set = "0.5"
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"
range-alloc = "0.1"
winapi = "0.3"
hassle-rs = "0.10.0"
# Gles dependencies
2023-02-24 16:56:06 +00:00
khronos-egl = "4.1"
glow = "0.12.3"
glutin = "0.29.1"
# wasm32 dependencies
console_error_panic_hook = "0.1.7"
2023-07-20 01:29:10 +00:00
console_log = "1"
js-sys = "0.3.64"
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.34"
wasm-bindgen-test = "0.3"
web-sys = "0.3.64"
# 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"
deno_webgpu = { path = "./deno_webgpu" }
tokio = "1.28.2"
termcolor = "1.2.0"
wgpu-core = { path = "./wgpu-core" }
wgpu-types = { path = "./wgpu-types" }
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" }
2021-06-03 01:42:15 +00:00
[patch.crates-io]
2021-12-17 04:57:21 +00:00
#naga = { path = "../naga" }
#glow = { path = "../glow" }
2022-03-12 17:14:18 +00:00
#d3d12 = { path = "../d3d12-rs" }
#metal = { path = "../metal-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" }
# Speed up image comparison even in debug builds
[profile.dev.package."nv-flip-sys"]
opt-level = 3