wgpu/Cargo.toml

194 lines
4.6 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.74"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
homepage = "https://wgpu.rs/"
repository = "https://github.com/gfx-rs/wgpu"
version = "0.19.3"
authors = ["gfx-rs developers"]
[workspace.dependencies.wgc]
package = "wgpu-core"
path = "./wgpu-core"
version = "0.19.3"
[workspace.dependencies.wgt]
package = "wgpu-types"
path = "./wgpu-types"
version = "0.19.2"
[workspace.dependencies.hal]
package = "wgpu-hal"
path = "./wgpu-hal"
version = "0.19.3"
[workspace.dependencies.naga]
2023-10-25 20:51:36 +00:00
path = "./naga"
version = "0.19.2"
[workspace.dependencies]
anyhow = "1.0.23"
arrayvec = "0.7"
bit-vec = "0.6"
bitflags = "2"
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"
document-features = "0.2.8"
2024-01-05 04:30:30 +00:00
encase = "0.7"
env_logger = "0.11"
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"
getrandom = "0.2"
2024-01-05 04:30:30 +00:00
glam = "0.25"
heck = "0.5.0"
image = { version = "0.24", default-features = false, features = ["png"] }
ktx2 = "0.3"
libc = "0.2"
# libloading 0.8 switches from `winapi` to `windows-sys`; permit either
libloading = ">=0.7, <0.9"
2023-10-19 16:06:42 +00:00
libtest-mimic = "0.6"
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" }
num-traits = { version = "0.2" }
nv-flip = "0.1"
obj = "0.10"
2023-10-19 16:06:42 +00:00
once_cell = "1"
parking_lot = ">=0.11,<0.13" # parking_lot 0.12 switches from `winapi` to `windows`; permit either
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.11"
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.1.0"
ron = "0.8"
rustc-hash = "1.1.0"
serde = "1"
serde_json = "1.0.116"
smallvec = "1"
static_assertions = "1.1.0"
thiserror = "1"
wgpu = { version = "0.19.3", path = "./wgpu" }
wgpu-core = { version = "0.19.3", path = "./wgpu-core" }
2024-01-17 19:42:11 +00:00
wgpu-example = { version = "0.19.0", path = "./examples/common" }
wgpu-macros = { version = "0.19.0", path = "./wgpu-macros" }
wgpu-test = { version = "0.19.0", path = "./tests" }
wgpu-types = { version = "0.19.2", path = "./wgpu-types" }
winit = { version = "0.29", features = ["android-native-activity"] }
2023-10-19 16:06:42 +00:00
# Metal dependencies
block = "0.1"
core-graphics-types = "0.1"
metal = { version = "0.27.0", git = "https://github.com/gfx-rs/metal-rs", rev = "ff8fd3d6dc7792852f8a015458d7e6d42d7fb352" }
2023-10-19 16:06:42 +00:00
objc = "0.2.5"
# Vulkan dependencies
android_system_properties = "0.1.1"
ash = "0.37.3"
gpu-alloc = "0.6"
gpu-descriptor = "0.3"
# DX dependencies
bit-set = "0.5"
gpu-allocator = { version = "0.25", 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"
2024-01-17 20:54:10 +00:00
glow = "0.13.1"
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.69"
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.42"
wasm-bindgen-test = "0.3"
web-sys = "0.3.69"
web-time = "0.2.4"
# deno dependencies
deno_console = "0.143.0"
deno_core = "0.272.0"
deno_url = "0.143.0"
deno_web = "0.174.0"
deno_webidl = "0.143.0"
deno_webgpu = { version = "0.110.0", path = "./deno_webgpu" }
build(deps): bump the patch-updates group with 35 updates (#5507) Bumps the patch-updates group with 35 updates: | Package | From | To | | --- | --- | --- | | [bitflags](https://github.com/bitflags/bitflags) | `2.4.2` | `2.5.0` | | [futures-lite](https://github.com/smol-rs/futures-lite) | `2.2.0` | `2.3.0` | | [getrandom](https://github.com/rust-random/getrandom) | `0.2.12` | `0.2.13` | | [glam](https://github.com/bitshifter/glam-rs) | `0.25.0` | `0.27.0` | | [heck](https://github.com/withoutboats/heck) | `0.4.1` | `0.5.0` | | [serde_json](https://github.com/serde-rs/json) | `1.0.114` | `1.0.115` | | [smallvec](https://github.com/servo/rust-smallvec) | `1.13.1` | `1.13.2` | | [tokio](https://github.com/tokio-rs/tokio) | `1.36.0` | `1.37.0` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.2.5` | `2.2.6` | | [syn](https://github.com/dtolnay/syn) | `2.0.52` | `2.0.58` | | [ab_glyph](https://github.com/alexheretic/ab-glyph) | `0.2.23` | `0.2.24` | | [aho-corasick](https://github.com/BurntSushi/aho-corasick) | `1.1.2` | `1.1.3` | | [async-trait](https://github.com/dtolnay/async-trait) | `0.1.77` | `0.1.79` | | [autocfg](https://github.com/cuviper/autocfg) | `1.1.0` | `1.2.0` | | [backtrace](https://github.com/rust-lang/backtrace-rs) | `0.3.69` | `0.3.71` | | [bytes](https://github.com/tokio-rs/bytes) | `1.5.0` | `1.6.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.0.90` | `1.0.91` | | [clap](https://github.com/clap-rs/clap) | `4.5.2` | `4.5.4` | | [clap_derive](https://github.com/clap-rs/clap) | `4.5.0` | `4.5.4` | | [downcast-rs](https://github.com/marcianx/downcast-rs) | `1.2.0` | `1.2.1` | | [fastrand](https://github.com/smol-rs/fastrand) | `2.0.1` | `2.0.2` | | [half](https://github.com/starkat99/half-rs) | `2.4.0` | `2.4.1` | | [itoa](https://github.com/dtolnay/itoa) | `1.0.10` | `1.0.11` | | [memchr](https://github.com/BurntSushi/memchr) | `2.7.1` | `2.7.2` | | [pin-project-lite](https://github.com/taiki-e/pin-project-lite) | `0.2.13` | `0.2.14` | | [polling](https://github.com/smol-rs/polling) | `3.5.0` | `3.6.0` | | [rayon](https://github.com/rayon-rs/rayon) | `1.9.0` | `1.10.0` | | [regex](https://github.com/rust-lang/regex) | `1.10.3` | `1.10.4` | | [regex-syntax](https://github.com/rust-lang/regex) | `0.8.2` | `0.8.3` | | [rustix](https://github.com/bytecodealliance/rustix) | `0.38.31` | `0.38.32` | | [rustversion](https://github.com/dtolnay/rustversion) | `1.0.14` | `1.0.15` | | [uuid](https://github.com/uuid-rs/uuid) | `1.7.0` | `1.8.0` | | [widestring](https://github.com/starkat99/widestring-rs) | `1.0.2` | `1.1.0` | | [xml-rs](https://github.com/kornelski/xml-rs) | `0.8.19` | `0.8.20` | Updates `bitflags` from 2.4.2 to 2.5.0 - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/2.4.2...2.5.0) Updates `futures-lite` from 2.2.0 to 2.3.0 - [Release notes](https://github.com/smol-rs/futures-lite/releases) - [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md) - [Commits](https://github.com/smol-rs/futures-lite/compare/v2.2.0...v2.3.0) Updates `getrandom` from 0.2.12 to 0.2.13 - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.13) Updates `heck` from 0.4.1 to 0.5.0 - [Changelog](https://github.com/withoutboats/heck/blob/master/CHANGELOG.md) - [Commits](https://github.com/withoutboats/heck/commits) Updates `serde_json` from 1.0.114 to 1.0.115 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.114...v1.0.115) Updates `smallvec` from 1.13.1 to 1.13.2 - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.13.1...v1.13.2) Updates `tokio` from 1.36.0 to 1.37.0 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.36.0...tokio-1.37.0) Updates `indexmap` from 2.2.5 to 2.2.6 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.5...2.2.6) Updates `syn` from 2.0.52 to 2.0.58 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.52...2.0.58) Updates `ab_glyph` from 0.2.23 to 0.2.24 - [Release notes](https://github.com/alexheretic/ab-glyph/releases) - [Commits](https://github.com/alexheretic/ab-glyph/compare/ab-glyph-0.2.23...ab-glyph-0.2.24) Updates `aho-corasick` from 1.1.2 to 1.1.3 - [Commits](https://github.com/BurntSushi/aho-corasick/compare/1.1.2...1.1.3) Updates `async-trait` from 0.1.77 to 0.1.79 - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.77...0.1.79) Updates `autocfg` from 1.1.0 to 1.2.0 - [Commits](https://github.com/cuviper/autocfg/compare/1.1.0...1.2.0) Updates `backtrace` from 0.3.69 to 0.3.71 - [Release notes](https://github.com/rust-lang/backtrace-rs/releases) - [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.71) Updates `bytes` from 1.5.0 to 1.6.0 - [Release notes](https://github.com/tokio-rs/bytes/releases) - [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/bytes/compare/v1.5.0...v1.6.0) Updates `cc` from 1.0.90 to 1.0.91 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.90...1.0.91) Updates `clap` from 4.5.2 to 4.5.4 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.5.2...v4.5.4) Updates `clap_derive` from 4.5.0 to 4.5.4 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.5.0...v4.5.4) Updates `downcast-rs` from 1.2.0 to 1.2.1 - [Changelog](https://github.com/marcianx/downcast-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/marcianx/downcast-rs/compare/v1.2.0...v1.2.1) Updates `fastrand` from 2.0.1 to 2.0.2 - [Release notes](https://github.com/smol-rs/fastrand/releases) - [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md) - [Commits](https://github.com/smol-rs/fastrand/compare/v2.0.1...v2.0.2) Updates `half` from 2.4.0 to 2.4.1 - [Release notes](https://github.com/starkat99/half-rs/releases) - [Changelog](https://github.com/starkat99/half-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/starkat99/half-rs/compare/v2.4.0...v2.4.1) Updates `itoa` from 1.0.10 to 1.0.11 - [Release notes](https://github.com/dtolnay/itoa/releases) - [Commits](https://github.com/dtolnay/itoa/compare/1.0.10...1.0.11) Updates `memchr` from 2.7.1 to 2.7.2 - [Commits](https://github.com/BurntSushi/memchr/compare/2.7.1...2.7.2) Updates `pin-project-lite` from 0.2.13 to 0.2.14 - [Release notes](https://github.com/taiki-e/pin-project-lite/releases) - [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.13...v0.2.14) Updates `polling` from 3.5.0 to 3.6.0 - [Release notes](https://github.com/smol-rs/polling/releases) - [Changelog](https://github.com/smol-rs/polling/blob/master/CHANGELOG.md) - [Commits](https://github.com/smol-rs/polling/compare/v3.5.0...v3.6.0) Updates `rayon` from 1.9.0 to 1.10.0 - [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md) - [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.9.0...rayon-core-v1.10.0) Updates `regex` from 1.10.3 to 1.10.4 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.10.3...1.10.4) Updates `regex-syntax` from 0.8.2 to 0.8.3 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.8.2...regex-syntax-0.8.3) Updates `rustix` from 0.38.31 to 0.38.32 - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.31...v0.38.32) Updates `rustversion` from 1.0.14 to 1.0.15 - [Release notes](https://github.com/dtolnay/rustversion/releases) - [Commits](https://github.com/dtolnay/rustversion/compare/1.0.14...1.0.15) Updates `uuid` from 1.7.0 to 1.8.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.7.0...1.8.0) Updates `widestring` from 1.0.2 to 1.1.0 - [Release notes](https://github.com/starkat99/widestring-rs/releases) - [Changelog](https://github.com/starkat99/widestring-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/starkat99/widestring-rs/compare/v1.0.2...v1.1.0) Updates `xml-rs` from 0.8.19 to 0.8.20 - [Changelog](https://github.com/kornelski/xml-rs/blob/main/Changelog.md) - [Commits](https://github.com/kornelski/xml-rs/compare/0.8.19...0.8.20) --- updated-dependencies: - dependency-name: bitflags dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: futures-lite dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: getrandom dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: heck dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: smallvec dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: ab_glyph dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: aho-corasick dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: async-trait dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: autocfg dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: backtrace dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: bytes dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: clap dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: clap_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: downcast-rs dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: fastrand dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: half dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: itoa dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: memchr dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: pin-project-lite dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: polling dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: rayon dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: regex dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: regex-syntax dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: rustix dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: rustversion dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: uuid dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: widestring dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: xml-rs dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2024-04-09 04:20:27 +00:00
tokio = "1.37.0"
termcolor = "1.4.1"
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