mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
a0862aabb4
Bumps the patch-updates group with 16 updates: | Package | From | To | | --- | --- | --- | | [bitflags](https://github.com/bitflags/bitflags) | `2.4.1` | `2.4.2` | | [env_logger](https://github.com/rust-cli/env_logger) | `0.10.1` | `0.10.2` | | [smallvec](https://github.com/servo/rust-smallvec) | `1.12.0` | `1.13.1` | | [winit](https://github.com/rust-windowing/winit) | `0.29.9` | `0.29.10` | | [anstream](https://github.com/rust-cli/anstyle) | `0.6.7` | `0.6.11` | | [clap](https://github.com/clap-rs/clap) | `4.4.16` | `4.4.18` | | [fdeflate](https://github.com/image-rs/fdeflate) | `0.3.3` | `0.3.4` | | [hermit-abi](https://github.com/hermitcore/hermit-rs) | `0.3.3` | `0.3.4` | | [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | `0.4.12` | `0.4.13` | | [pkg-config](https://github.com/rust-lang/pkg-config-rs) | `0.3.28` | `0.3.29` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.76` | `1.0.78` | | [rayon](https://github.com/rayon-rs/rayon) | `1.8.0` | `1.8.1` | | [regex](https://github.com/rust-lang/regex) | `1.10.2` | `1.10.3` | | [smol_str](https://github.com/rust-analyzer/smol_str) | `0.2.0` | `0.2.1` | | [unicode-bidi](https://github.com/servo/unicode-bidi) | `0.3.14` | `0.3.15` | | [uuid](https://github.com/uuid-rs/uuid) | `1.6.1` | `1.7.0` | Updates `bitflags` from 2.4.1 to 2.4.2 - [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.1...2.4.2) Updates `env_logger` from 0.10.1 to 0.10.2 - [Release notes](https://github.com/rust-cli/env_logger/releases) - [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.10.2) Updates `smallvec` from 1.12.0 to 1.13.1 - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.12.0...v1.13.1) Updates `winit` from 0.29.9 to 0.29.10 - [Release notes](https://github.com/rust-windowing/winit/releases) - [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-windowing/winit/compare/v0.29.9...v0.29.10) Updates `anstream` from 0.6.7 to 0.6.11 - [Commits](https://github.com/rust-cli/anstyle/compare/anstream-v0.6.7...anstream-v0.6.11) Updates `clap` from 4.4.16 to 4.4.18 - [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.4.16...v4.4.18) Updates `fdeflate` from 0.3.3 to 0.3.4 - [Changelog](https://github.com/image-rs/fdeflate/blob/main/CHANGES.md) - [Commits](https://github.com/image-rs/fdeflate/compare/v0.3.3...v0.3.4) Updates `hermit-abi` from 0.3.3 to 0.3.4 - [Release notes](https://github.com/hermitcore/hermit-rs/releases) - [Commits](https://github.com/hermitcore/hermit-rs/compare/hermit-abi-0.3.3...hermit-abi-0.3.4) Updates `linux-raw-sys` from 0.4.12 to 0.4.13 - [Commits](https://github.com/sunfishcode/linux-raw-sys/compare/v0.4.12...v0.4.13) Updates `pkg-config` from 0.3.28 to 0.3.29 - [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.28...0.3.29) Updates `proc-macro2` from 1.0.76 to 1.0.78 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.76...1.0.78) Updates `rayon` from 1.8.0 to 1.8.1 - [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md) - [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.8.1) Updates `regex` from 1.10.2 to 1.10.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/1.10.2...1.10.3) Updates `smol_str` from 0.2.0 to 0.2.1 - [Commits](https://github.com/rust-analyzer/smol_str/commits) Updates `unicode-bidi` from 0.3.14 to 0.3.15 - [Release notes](https://github.com/servo/unicode-bidi/releases) - [Commits](https://github.com/servo/unicode-bidi/commits) Updates `uuid` from 1.6.1 to 1.7.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.6.1...1.7.0) --- updated-dependencies: - dependency-name: bitflags dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: env_logger 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-minor dependency-group: patch-updates - dependency-name: winit dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: anstream 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: fdeflate dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: hermit-abi dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: linux-raw-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: pkg-config 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: rayon dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: regex dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: smol_str dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: unicode-bidi 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>
182 lines
4.9 KiB
TOML
182 lines
4.9 KiB
TOML
[package]
|
|
name = "wgpu-hal"
|
|
version = "0.19.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.70"
|
|
|
|
[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",
|
|
]
|
|
|
|
[lib]
|
|
|
|
[features]
|
|
default = ["link"]
|
|
metal = ["naga/msl-out", "block"]
|
|
vulkan = [
|
|
"naga/spv-out",
|
|
"ash",
|
|
"gpu-alloc",
|
|
"gpu-descriptor",
|
|
"libloading",
|
|
"smallvec",
|
|
]
|
|
gles = ["naga/glsl-out", "glow", "glutin_wgl_sys", "khronos-egl", "libloading"]
|
|
dx12 = [
|
|
"naga/hlsl-out",
|
|
"d3d12",
|
|
"bit-set",
|
|
"libloading",
|
|
"range-alloc",
|
|
"winapi/std",
|
|
"winapi/winbase",
|
|
"winapi/d3d12",
|
|
"winapi/d3d12shader",
|
|
"winapi/d3d12sdklayers",
|
|
"winapi/dxgi1_6",
|
|
]
|
|
# 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 = ["gpu-allocator"]
|
|
dxc_shader_compiler = ["hassle-rs"]
|
|
renderdoc = ["libloading", "renderdoc-sys"]
|
|
fragile-send-sync-non-atomic-wasm = ["wgt/fragile-send-sync-non-atomic-wasm"]
|
|
link = ["metal/link"]
|
|
|
|
[[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.19.0"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
# backend: Vulkan
|
|
ash = { version = "0.37.3", optional = true }
|
|
gpu-alloc = { version = "0.6", optional = true }
|
|
gpu-descriptor = { version = "0.2", 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.0.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.5", optional = true }
|
|
range-alloc = { version = "0.1", optional = true }
|
|
gpu-allocator = { version = "0.25", default_features = false, features = [
|
|
"d3d12",
|
|
"public-winapi",
|
|
], optional = true }
|
|
hassle-rs = { version = "0.11", optional = true }
|
|
# backend: Gles
|
|
glutin_wgl_sys = { version = "0.5", optional = true }
|
|
|
|
winapi = { version = "0.3", features = [
|
|
"profileapi",
|
|
"libloaderapi",
|
|
"windef",
|
|
"winuser",
|
|
"dcomp",
|
|
] }
|
|
d3d12 = { path = "../d3d12/", version = "0.19.0", optional = true, features = [
|
|
"libloading",
|
|
] }
|
|
|
|
[target.'cfg(any(target_os="macos", target_os="ios"))'.dependencies]
|
|
# backend: Metal
|
|
block = { version = "0.1", optional = true }
|
|
|
|
metal = "0.27.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.67", features = [
|
|
"Window",
|
|
"HtmlCanvasElement",
|
|
"WebGl2RenderingContext",
|
|
"OffscreenCanvas",
|
|
] }
|
|
js-sys = "0.3.67"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
android_system_properties = "0.1.1"
|
|
|
|
[dependencies.naga]
|
|
path = "../naga"
|
|
version = "0.19.0"
|
|
features = ["clone"]
|
|
|
|
[build-dependencies]
|
|
cfg_aliases.workspace = true
|
|
|
|
# DEV dependencies
|
|
[dev-dependencies.naga]
|
|
path = "../naga"
|
|
version = "0.19.0"
|
|
features = ["wgsl-in"]
|
|
|
|
[dev-dependencies]
|
|
cfg-if = "1"
|
|
env_logger = "0.10"
|
|
glam = "0.25.0" # for ray-traced-triangle example
|
|
winit = { version = "0.29.10", features = [
|
|
"android-native-activity",
|
|
] } # for "halmark" example
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
|
glutin = "0.29.1" # for "gles" example
|