wgpu/Cargo.toml

194 lines
4.5 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",
2023-10-25 20:51:36 +00:00
# default members
"d3d12",
"examples/",
2023-10-25 20:51:36 +00:00
"naga-cli",
"naga",
"naga/fuzz",
"naga/hlsl-snapshots",
2023-10-25 20:51:36 +00:00
"player",
"tests",
"wgpu-core",
2021-06-04 05:19:36 +00:00
"wgpu-hal",
2021-06-23 06:28:04 +00:00
"wgpu-info",
2023-10-19 16:06:42 +00:00
"wgpu-macros",
"wgpu-types",
2023-10-25 20:51:36 +00:00
"wgpu",
2021-09-07 22:04:28 +00:00
]
exclude = []
default-members = [
"d3d12",
"examples/",
2023-10-25 20:51:36 +00:00
"naga-cli",
"naga",
"naga/fuzz",
"naga/hlsl-snapshots",
"player",
2023-10-25 20:51:36 +00:00
"tests",
"wgpu-core",
"wgpu-hal",
"wgpu-info",
2023-10-19 16:06:42 +00:00
"wgpu-macros",
"wgpu-types",
2023-10-25 20:51:36 +00:00
"wgpu",
]
2021-06-03 01:42:15 +00:00
[workspace.package]
edition = "2021"
rust-version = "1.70"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
homepage = "https://wgpu.rs/"
repository = "https://github.com/gfx-rs/wgpu"
2023-10-25 17:53:22 +00:00
version = "0.18.0"
authors = ["gfx-rs developers"]
[workspace.dependencies.wgc]
package = "wgpu-core"
path = "./wgpu-core"
2023-10-25 17:53:22 +00:00
version = "0.18.0"
[workspace.dependencies.wgt]
package = "wgpu-types"
path = "./wgpu-types"
2023-10-25 17:53:22 +00:00
version = "0.18.0"
[workspace.dependencies.hal]
package = "wgpu-hal"
path = "./wgpu-hal"
2023-10-25 17:53:22 +00:00
version = "0.18.0"
[workspace.dependencies.naga]
2023-10-25 20:51:36 +00:00
path = "./naga"
2023-10-25 17:53:22 +00:00
version = "0.14.0"
[workspace.dependencies]
anyhow = "1.0"
arrayvec = "0.7"
bitflags = "2"
bit-vec = "0.6"
bytemuck = { version = "1.14", features = ["derive"] }
cfg_aliases = "0.1"
cfg-if = "1"
codespan-reporting = "0.11"
2023-10-19 16:06:42 +00:00
ctor = "0.2"
encase = "0.6"
env_logger = "0.10"
2023-11-06 01:46:18 +00:00
fern = "0.6"
2023-10-19 16:06:42 +00:00
flume = "0.11"
futures-lite = "2"
rustc-hash = "1.1.0"
getrandom = "0.2"
glam = "0.24.2"
2023-10-19 16:06:42 +00:00
heck = "0.4.0"
image = { version = "0.24", default-features = false, features = ["png"] }
ktx2 = "0.3"
# libloading 0.8 switches from `winapi` to `windows-sys`; permit either
libloading = ">=0.7, <0.9"
libc = "0.2"
2023-10-19 16:06:42 +00:00
libtest-mimic = "0.6"
log = "0.4"
nanorand = { version = "0.7", default-features = false, features = ["wyrand"] }
nv-flip = "0.1"
num-traits = { version = "0.2" }
# https://github.com/Razaekel/noise-rs/issues/335 (Updated dependencies)
noise = { version = "0.8", git = "https://github.com/Razaekel/noise-rs.git", rev = "c6942d4fb70af26db4441edcf41f90fa115333f2" }
obj = "0.10"
2023-10-19 16:06:42 +00:00
once_cell = "1"
# parking_lot 0.12 switches from `winapi` to `windows`; permit either
parking_lot = ">=0.11,<0.13"
2023-10-25 17:53:22 +00:00
pico-args = { version = "0.5.0", features = [
"eq-separator",
"short-space-opt",
"combined-flags",
] }
png = "0.17.10"
2023-07-20 01:29:10 +00:00
pollster = "0.3"
profiling = { version = "1", default-features = false }
raw-window-handle = "0.6"
renderdoc-sys = "1.0.0"
ron = "0.8"
serde = "1"
serde_json = "1.0.108"
smallvec = "1"
static_assertions = "1.1.0"
thiserror = "1"
2023-10-25 17:53:22 +00:00
wgpu = { version = "0.18.0", path = "./wgpu" }
wgpu-core = { version = "0.18.0", path = "./wgpu-core" }
wgpu-example = { version = "0.18.0", path = "./examples/common" }
wgpu-macros = { version = "0.18.0", path = "./wgpu-macros" }
wgpu-test = { version = "0.18.0", path = "./tests" }
wgpu-types = { version = "0.18.0", path = "./wgpu-types" }
winit = { version = "0.29", features = [ "android-native-activity" ] }
2023-10-19 16:06:42 +00:00
# Metal dependencies
block = "0.1"
2023-10-25 18:04:01 +00:00
metal = "0.27.0"
2023-10-19 16:06:42 +00:00
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.24", default_features = false, features = [
2023-10-25 17:53:22 +00:00
"d3d12",
"public-winapi",
] }
d3d12 = { version = "0.7.0", path = "./d3d12/" }
range-alloc = "0.1"
winapi = "0.3"
hassle-rs = "0.11.0"
# Gles dependencies
2023-10-05 18:01:32 +00:00
khronos-egl = "6"
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.66"
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.39"
wasm-bindgen-test = "0.3"
2023-11-06 01:46:18 +00:00
web-time = "0.2.3"
web-sys = "0.3.66"
# deno dependencies
2023-11-30 14:29:30 +00:00
deno_console = "0.125.0"
deno_core = "0.232.0"
deno_url = "0.125.0"
deno_web = "0.156.0"
deno_webidl = "0.125.0"
deno_webgpu = { version = "0.85.0", path = "./deno_webgpu" }
tokio = "1.34.0"
termcolor = "1.4.0"
2021-06-03 01:42:15 +00:00
[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" }
2021-06-03 01:42:15 +00:00
[patch.crates-io]
#glow = { path = "../glow" }
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