mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
9d12a0a122
Bumps the patch-updates group with 24 updates in the / directory: | Package | From | To | | --- | --- | --- | | [bit-vec](https://github.com/contain-rs/bit-vec) | `0.6.3` | `0.7.0` | | [bitflags](https://github.com/bitflags/bitflags) | `2.5.0` | `2.6.0` | | [bytemuck](https://github.com/Lokathor/bytemuck) | `1.16.0` | `1.16.1` | | [libloading](https://github.com/nagisa/rust_libloading) | `0.8.3` | `0.8.4` | | [log](https://github.com/rust-lang/log) | `0.4.21` | `0.4.22` | | [serde_json](https://github.com/serde-rs/json) | `1.0.117` | `1.0.119` | | [bit-set](https://github.com/contain-rs/bit-set) | `0.5.3` | `0.6.0` | | [syn](https://github.com/dtolnay/syn) | `2.0.66` | `2.0.68` | | [ab_glyph](https://github.com/alexheretic/ab-glyph) | `0.2.26` | `0.2.27` | | [backtrace](https://github.com/rust-lang/backtrace-rs) | `0.3.72` | `0.3.73` | | [cc](https://github.com/rust-lang/cc-rs) | `1.0.99` | `1.0.103` | | [clap](https://github.com/clap-rs/clap) | `4.5.6` | `4.5.8` | | [deno_unsync](https://github.com/denoland/deno_unsync) | `0.3.4` | `0.3.5` | | [derive_more](https://github.com/JelteF/derive_more) | `0.99.17` | `0.99.18` | | [either](https://github.com/rayon-rs/either) | `1.12.0` | `1.13.0` | | [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) | `1.4.0` | `1.5.0` | | [memchr](https://github.com/BurntSushi/memchr) | `2.7.2` | `2.7.4` | | [miniz_oxide](https://github.com/Frommi/miniz_oxide) | `0.7.3` | `0.7.4` | | [num-bigint](https://github.com/rust-num/num-bigint) | `0.4.5` | `0.4.6` | | [polling](https://github.com/smol-rs/polling) | `3.7.1` | `3.7.2` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.85` | `1.0.86` | | [tinyvec](https://github.com/Lokathor/tinyvec) | `1.6.0` | `1.6.1` | | [url](https://github.com/servo/rust-url) | `2.5.0` | `2.5.2` | | [uuid](https://github.com/uuid-rs/uuid) | `1.8.0` | `1.9.1` | Updates `bit-vec` from 0.6.3 to 0.7.0 - [Commits](https://github.com/contain-rs/bit-vec/commits) Updates `bitflags` from 2.5.0 to 2.6.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.5.0...2.6.0) Updates `bytemuck` from 1.16.0 to 1.16.1 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.0...v1.16.1) Updates `libloading` from 0.8.3 to 0.8.4 - [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.3...0.8.4) Updates `log` from 0.4.21 to 0.4.22 - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22) Updates `serde_json` from 1.0.117 to 1.0.119 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.119) Updates `bit-set` from 0.5.3 to 0.6.0 - [Release notes](https://github.com/contain-rs/bit-set/releases) - [Commits](https://github.com/contain-rs/bit-set/commits) Updates `syn` from 2.0.66 to 2.0.68 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.66...2.0.68) Updates `ab_glyph` from 0.2.26 to 0.2.27 - [Release notes](https://github.com/alexheretic/ab-glyph/releases) - [Commits](https://github.com/alexheretic/ab-glyph/compare/ab-glyph-0.2.26...ab-glyph-0.2.27) Updates `backtrace` from 0.3.72 to 0.3.73 - [Release notes](https://github.com/rust-lang/backtrace-rs/releases) - [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.72...0.3.73) Updates `cc` from 1.0.99 to 1.0.103 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.99...cc-v1.0.103) Updates `clap` from 4.5.6 to 4.5.8 - [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/clap_complete-v4.5.6...v4.5.8) Updates `clap_builder` from 4.5.6 to 4.5.8 - [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.6...v4.5.8) Updates `clap_derive` from 4.5.5 to 4.5.8 - [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.5...v4.5.8) Updates `deno_unsync` from 0.3.4 to 0.3.5 - [Commits](https://github.com/denoland/deno_unsync/commits) Updates `derive_more` from 0.99.17 to 0.99.18 - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/v0.99.18/CHANGELOG.md) - [Commits](https://github.com/JelteF/derive_more/compare/v0.99.17...v0.99.18) Updates `either` from 1.12.0 to 1.13.0 - [Commits](https://github.com/rayon-rs/either/compare/1.12.0...1.13.0) Updates `lazy_static` from 1.4.0 to 1.5.0 - [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases) - [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.4.0...1.5.0) Updates `memchr` from 2.7.2 to 2.7.4 - [Commits](https://github.com/BurntSushi/memchr/compare/2.7.2...2.7.4) Updates `miniz_oxide` from 0.7.3 to 0.7.4 - [Changelog](https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md) - [Commits](https://github.com/Frommi/miniz_oxide/commits) Updates `num-bigint` from 0.4.5 to 0.4.6 - [Changelog](https://github.com/rust-num/num-bigint/blob/master/RELEASES.md) - [Commits](https://github.com/rust-num/num-bigint/compare/num-bigint-0.4.5...num-bigint-0.4.6) Updates `object` from 0.35.0 to 0.36.1 - [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md) - [Commits](https://github.com/gimli-rs/object/compare/0.35.0...0.36.1) Updates `polling` from 3.7.1 to 3.7.2 - [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.7.1...v3.7.2) Updates `proc-macro2` from 1.0.85 to 1.0.86 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.85...1.0.86) Updates `tinyvec` from 1.6.0 to 1.6.1 - [Changelog](https://github.com/Lokathor/tinyvec/blob/main/CHANGELOG.md) - [Commits](https://github.com/Lokathor/tinyvec/compare/v1.6.0...v1.6.1) Updates `url` from 2.5.0 to 2.5.2 - [Release notes](https://github.com/servo/rust-url/releases) - [Commits](https://github.com/servo/rust-url/compare/v2.5.0...v2.5.2) Updates `uuid` from 1.8.0 to 1.9.1 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.8.0...1.9.1) --- updated-dependencies: - dependency-name: bit-vec dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: bitflags dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: bytemuck dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: libloading dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: bit-set dependency-type: direct:production update-type: version-update:semver-minor 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: backtrace dependency-type: indirect update-type: version-update:semver-patch 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_builder 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: deno_unsync dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: derive_more dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: either dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: lazy_static dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: memchr dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: miniz_oxide dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: num-bigint dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: object dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: polling dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: proc-macro2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: tinyvec dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: url 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 ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
205 lines
5.7 KiB
TOML
205 lines
5.7 KiB
TOML
[package]
|
|
name = "wgpu-hal"
|
|
version = "0.20.0"
|
|
authors = ["gfx-rs developers"]
|
|
edition = "2021"
|
|
description = "WebGPU hardware abstraction layer"
|
|
homepage = "https://wgpu.rs/"
|
|
repository = "https://github.com/gfx-rs/wgpu"
|
|
keywords = ["graphics"]
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
# Override the workspace's `rust-version` key. Firefox uses `cargo vendor` to
|
|
# copy the crates it actually uses out of the workspace, so it's meaningful for
|
|
# them to have less restrictive MSRVs individually than the workspace as a
|
|
# whole, if their code permits. See `../README.md` for details.
|
|
rust-version = "1.74"
|
|
|
|
[package.metadata.docs.rs]
|
|
# Ideally we would enable all the features.
|
|
#
|
|
# However, the metal features fail to be documented because the docs.rs runner cross-compiling under
|
|
# x86_64-unknown-linux-gnu and metal-rs cannot compile in that environment at the moment. The same applies
|
|
# for the dx12 feature.
|
|
features = ["vulkan", "gles", "renderdoc"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
targets = [
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"wasm32-unknown-unknown",
|
|
]
|
|
|
|
[package.metadata.cargo-machete]
|
|
# Cargo machete can't check build.rs dependencies. See https://github.com/bnjbvr/cargo-machete/issues/100
|
|
ignored = ["cfg_aliases"]
|
|
|
|
[lib]
|
|
|
|
[features]
|
|
metal = ["naga/msl-out", "dep:block"]
|
|
vulkan = [
|
|
"naga/spv-out",
|
|
"dep:ash",
|
|
"dep:gpu-alloc",
|
|
"dep:gpu-descriptor",
|
|
"dep:libloading",
|
|
"dep:smallvec",
|
|
"dep:android_system_properties",
|
|
]
|
|
gles = [
|
|
"naga/glsl-out",
|
|
"dep:glow",
|
|
"dep:glutin_wgl_sys",
|
|
"dep:khronos-egl",
|
|
"dep:libloading",
|
|
"dep:ndk-sys",
|
|
"winapi/libloaderapi",
|
|
]
|
|
dx12 = [
|
|
"naga/hlsl-out",
|
|
"dep:d3d12",
|
|
"dep:bit-set",
|
|
"dep:libloading",
|
|
"dep:range-alloc",
|
|
"winapi/std",
|
|
"winapi/winbase",
|
|
"winapi/d3d12",
|
|
"winapi/d3d12shader",
|
|
"winapi/d3d12sdklayers",
|
|
"winapi/dxgi1_6",
|
|
"winapi/errhandlingapi",
|
|
]
|
|
# TODO: This is a separate feature until Mozilla okays windows-rs, see https://github.com/gfx-rs/wgpu/issues/3207 for the tracking issue.
|
|
windows_rs = ["dep:gpu-allocator"]
|
|
dxc_shader_compiler = ["dep:hassle-rs"]
|
|
renderdoc = ["dep:libloading", "dep:renderdoc-sys"]
|
|
fragile-send-sync-non-atomic-wasm = ["wgt/fragile-send-sync-non-atomic-wasm"]
|
|
# Panic when running into an out-of-memory error (for debugging purposes).
|
|
#
|
|
# Only affects the d3d12 and vulkan backends.
|
|
oom_panic = []
|
|
# Panic when running into a device lost error (for debugging purposes).
|
|
# Only affects the d3d12 and vulkan backends.
|
|
device_lost_panic = []
|
|
# Panic when running into an internal error other than out-of-memory and device lost
|
|
# (for debugging purposes).
|
|
#
|
|
# Only affects the d3d12 and vulkan backends.
|
|
internal_error_panic = []
|
|
|
|
[[example]]
|
|
name = "halmark"
|
|
|
|
[[example]]
|
|
name = "raw-gles"
|
|
required-features = ["gles"]
|
|
|
|
[dependencies]
|
|
bitflags = "2"
|
|
parking_lot = ">=0.11, <0.13"
|
|
profiling = { version = "1", default-features = false }
|
|
raw-window-handle = "0.6"
|
|
thiserror = "1"
|
|
once_cell = "1.19.0"
|
|
|
|
# backends common
|
|
arrayvec = "0.7"
|
|
rustc-hash = "1.1"
|
|
log = "0.4"
|
|
|
|
# backend: Gles
|
|
glow = { version = "0.13.1", optional = true }
|
|
|
|
[dependencies.wgt]
|
|
package = "wgpu-types"
|
|
path = "../wgpu-types"
|
|
version = "0.20.0"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
# backend: Vulkan
|
|
ash = { version = "0.38.0", optional = true }
|
|
gpu-alloc = { version = "0.6", optional = true }
|
|
gpu-descriptor = { version = "0.3", optional = true }
|
|
smallvec = { version = "1", optional = true, features = ["union"] }
|
|
|
|
khronos-egl = { version = "6", features = ["dynamic"], optional = true }
|
|
libloading = { version = ">=0.7, <0.9", optional = true }
|
|
renderdoc-sys = { version = "1.1.0", optional = true }
|
|
|
|
[target.'cfg(target_os = "emscripten")'.dependencies]
|
|
khronos-egl = { version = "6", features = ["static", "no-pkg-config"] }
|
|
#Note: it's unused by emscripten, but we keep it to have single code base in egl.rs
|
|
libloading = { version = ">=0.7, <0.9", optional = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
# backend: Dx12
|
|
bit-set = { version = "0.6", optional = true }
|
|
range-alloc = { version = "0.1", optional = true }
|
|
gpu-allocator = { version = "0.26", default-features = false, features = [
|
|
"d3d12",
|
|
"public-winapi",
|
|
], optional = true }
|
|
hassle-rs = { version = "0.11", optional = true }
|
|
# backend: Gles
|
|
glutin_wgl_sys = { version = "0.6", optional = true }
|
|
|
|
winapi = { version = "0.3", features = [
|
|
"profileapi",
|
|
"windef",
|
|
"winuser",
|
|
"dcomp",
|
|
] }
|
|
d3d12 = { path = "../d3d12/", version = "0.20.0", optional = true, features = [
|
|
"libloading",
|
|
] }
|
|
|
|
[target.'cfg(any(target_os="macos", target_os="ios"))'.dependencies]
|
|
# backend: Metal
|
|
block = { version = "0.1", optional = true }
|
|
|
|
metal = { version = "0.28.0" }
|
|
objc = "0.2.5"
|
|
core-graphics-types = "0.1"
|
|
|
|
[target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies]
|
|
wasm-bindgen = "0.2.87"
|
|
web-sys = { version = "0.3.69", features = [
|
|
"Window",
|
|
"HtmlCanvasElement",
|
|
"WebGl2RenderingContext",
|
|
"OffscreenCanvas",
|
|
] }
|
|
js-sys = "0.3.69"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
android_system_properties = { version = "0.1.1", optional = true }
|
|
ndk-sys = { version = "0.5.0", optional = true }
|
|
|
|
[dependencies.naga]
|
|
path = "../naga"
|
|
version = "0.20.0"
|
|
|
|
[build-dependencies]
|
|
cfg_aliases.workspace = true
|
|
|
|
# DEV dependencies
|
|
[dev-dependencies.naga]
|
|
path = "../naga"
|
|
version = "0.20.0"
|
|
features = ["wgsl-in"]
|
|
|
|
[dev-dependencies]
|
|
cfg-if = "1"
|
|
env_logger = "0.11"
|
|
glam = "0.27.0" # for ray-traced-triangle example
|
|
winit = { version = "0.29", features = [
|
|
"android-native-activity",
|
|
] } # for "halmark" example
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
|
glutin = "0.29.1" # for "gles" example
|