mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-26 00:33:51 +00:00
70155aa03e
Bumps the patch-updates group with 20 updates in the / directory: | Package | From | To | | --- | --- | --- | | [arrayvec](https://github.com/bluss/arrayvec) | `0.7.4` | `0.7.6` | | [bytemuck](https://github.com/Lokathor/bytemuck) | `1.16.3` | `1.17.0` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.3.0` | `2.4.0` | | [libc](https://github.com/rust-lang/libc) | `0.2.155` | `0.2.158` | | [serde](https://github.com/serde-rs/serde) | `1.0.206` | `1.0.208` | | [serde_json](https://github.com/serde-rs/json) | `1.0.124` | `1.0.125` | | [js-sys](https://github.com/rustwasm/wasm-bindgen) | `0.3.69` | `0.3.70` | | [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen) | `0.4.42` | `0.4.43` | | [wasm-bindgen-test](https://github.com/rustwasm/wasm-bindgen) | `0.3.42` | `0.3.43` | | [web-sys](https://github.com/rustwasm/wasm-bindgen) | `0.3.69` | `0.3.70` | | [tokio](https://github.com/tokio-rs/tokio) | `1.39.2` | `1.39.3` | | [unicode-xid](https://github.com/unicode-rs/unicode-xid) | `0.2.4` | `0.2.5` | | [syn](https://github.com/dtolnay/syn) | `2.0.74` | `2.0.75` | | [bytemuck_derive](https://github.com/Lokathor/bytemuck) | `1.7.0` | `1.7.1` | | [cc](https://github.com/rust-lang/cc-rs) | `1.1.10` | `1.1.13` | | [clap](https://github.com/clap-rs/clap) | `4.5.15` | `4.5.16` | | [cmake](https://github.com/rust-lang/cmake-rs) | `0.1.50` | `0.1.51` | | [flate2](https://github.com/rust-lang/flate2-rs) | `1.0.31` | `1.0.32` | | [is-terminal](https://github.com/sunfishcode/is-terminal) | `0.4.12` | `0.4.13` | | [xcursor](https://github.com/esposm03/xcursor-rs) | `0.3.7` | `0.3.8` | Updates `arrayvec` from 0.7.4 to 0.7.6 - [Release notes](https://github.com/bluss/arrayvec/releases) - [Changelog](https://github.com/bluss/arrayvec/blob/master/CHANGELOG.md) - [Commits](https://github.com/bluss/arrayvec/compare/0.7.4...0.7.6) Updates `bytemuck` from 1.16.3 to 1.17.0 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.3...v1.17.0) Updates `indexmap` from 2.3.0 to 2.4.0 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.3.0...2.4.0) Updates `libc` from 0.2.155 to 0.2.158 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.158) Updates `serde` from 1.0.206 to 1.0.208 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208) Updates `serde_json` from 1.0.124 to 1.0.125 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.125) Updates `js-sys` from 0.3.69 to 0.3.70 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/commits) Updates `wasm-bindgen` from 0.2.92 to 0.2.93 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93) Updates `wasm-bindgen-futures` from 0.4.42 to 0.4.43 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/commits) Updates `wasm-bindgen-test` from 0.3.42 to 0.3.43 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/commits) Updates `web-sys` from 0.3.69 to 0.3.70 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/commits) Updates `tokio` from 1.39.2 to 1.39.3 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3) Updates `unicode-xid` from 0.2.4 to 0.2.5 - [Commits](https://github.com/unicode-rs/unicode-xid/compare/v0.2.4...v0.2.5) Updates `syn` from 2.0.74 to 2.0.75 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.74...2.0.75) Updates `bytemuck_derive` from 1.7.0 to 1.7.1 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](https://github.com/Lokathor/bytemuck/compare/bytemuck_derive-v1.7.0...bytemuck_derive-v1.7.1) Updates `cc` from 1.1.10 to 1.1.13 - [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/cc-v1.1.10...cc-v1.1.13) Updates `clap` from 4.5.15 to 4.5.16 - [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.15...clap_complete-v4.5.16) Updates `cmake` from 0.1.50 to 0.1.51 - [Release notes](https://github.com/rust-lang/cmake-rs/releases) - [Changelog](https://github.com/rust-lang/cmake-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cmake-rs/compare/0.1.50...v0.1.51) Updates `flate2` from 1.0.31 to 1.0.32 - [Release notes](https://github.com/rust-lang/flate2-rs/releases) - [Changelog](https://github.com/rust-lang/flate2-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.31...1.0.32) Updates `is-terminal` from 0.4.12 to 0.4.13 - [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.12...v0.4.13) Updates `serde_derive` from 1.0.206 to 1.0.208 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208) Updates `wasm-bindgen-backend` from 0.2.92 to 0.2.93 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93) Updates `wasm-bindgen-macro` from 0.2.92 to 0.2.93 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93) Updates `wasm-bindgen-macro-support` from 0.2.92 to 0.2.93 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93) Updates `wasm-bindgen-shared` from 0.2.92 to 0.2.93 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93) Updates `wasm-bindgen-test-macro` from 0.3.42 to 0.3.43 - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/commits) Updates `xcursor` from 0.3.7 to 0.3.8 - [Commits](https://github.com/esposm03/xcursor-rs/commits) --- updated-dependencies: - dependency-name: arrayvec dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: bytemuck 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-minor dependency-group: patch-updates - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: serde 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: js-sys dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: wasm-bindgen dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: wasm-bindgen-futures dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: wasm-bindgen-test dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: web-sys 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-patch dependency-group: patch-updates - dependency-name: unicode-xid 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: bytemuck_derive 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: cmake dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: flate2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: is-terminal dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: serde_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: wasm-bindgen-backend dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: wasm-bindgen-macro dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: wasm-bindgen-macro-support dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: wasm-bindgen-shared dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: wasm-bindgen-test-macro dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: xcursor 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>
103 lines
3.8 KiB
TOML
103 lines
3.8 KiB
TOML
[package]
|
|
name = "naga"
|
|
version = "22.0.0"
|
|
authors = ["gfx-rs developers"]
|
|
edition = "2021"
|
|
description = "Shader translation infrastructure"
|
|
repository = "https://github.com/gfx-rs/wgpu/tree/trunk/naga"
|
|
keywords = ["shader", "SPIR-V", "GLSL", "MSL"]
|
|
license = "MIT OR Apache-2.0"
|
|
exclude = ["bin/**/*", "tests/**/*", "Cargo.lock", "target/**/*"]
|
|
resolver = "2"
|
|
autotests = false
|
|
|
|
# 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.76"
|
|
|
|
[[test]]
|
|
name = "naga-test"
|
|
path = "tests/root.rs"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
default = []
|
|
dot-out = []
|
|
glsl-in = ["dep:pp-rs"]
|
|
glsl-out = []
|
|
|
|
## Enables outputting to the Metal Shading Language (MSL).
|
|
##
|
|
## This enables MSL output regardless of the target platform.
|
|
## If you want to enable it only when targeting iOS/tvOS/watchOS/macOS, use `naga/msl-out-if-target-apple`.
|
|
msl-out = []
|
|
|
|
## Enables outputting to the Metal Shading Language (MSL) only if the target platform is iOS/tvOS/watchOS/macOS.
|
|
##
|
|
## If you want to enable MSL output it regardless of the target platform, use `naga/msl-out`.
|
|
msl-out-if-target-apple = []
|
|
|
|
serialize = ["dep:serde", "bitflags/serde", "indexmap/serde"]
|
|
deserialize = ["dep:serde", "bitflags/serde", "indexmap/serde"]
|
|
arbitrary = ["dep:arbitrary", "bitflags/arbitrary", "indexmap/arbitrary"]
|
|
spv-in = ["dep:petgraph", "dep:spirv"]
|
|
spv-out = ["dep:spirv"]
|
|
wgsl-in = ["dep:hexf-parse", "dep:unicode-xid", "compact"]
|
|
wgsl-out = []
|
|
|
|
## Enables outputting to HLSL (Microsoft's High-Level Shader Language).
|
|
##
|
|
## This enables HLSL output regardless of the target platform.
|
|
## If you want to enable it only when targeting Windows, use `hlsl-out-if-target-windows`.
|
|
hlsl-out = []
|
|
|
|
## Enables outputting to HLSL (Microsoft's High-Level Shader Language) only if the target platform is Windows.
|
|
##
|
|
## If you want to enable HLSL output it regardless of the target platform, use `naga/hlsl-out`.
|
|
hlsl-out-if-target-windows = []
|
|
|
|
compact = []
|
|
|
|
[dependencies]
|
|
arbitrary = { version = "1.3", features = ["derive"], optional = true }
|
|
arrayvec.workspace = true
|
|
bitflags.workspace = true
|
|
bit-set.workspace = true
|
|
termcolor = { version = "1.4.1" }
|
|
# remove termcolor dep when updating to the next version of codespan-reporting
|
|
# termcolor minimum version was wrong and was fixed in
|
|
# https://github.com/brendanzab/codespan/commit/e99c867339a877731437e7ee6a903a3d03b5439e
|
|
codespan-reporting = { version = "0.11.0" }
|
|
rustc-hash.workspace = true
|
|
indexmap.workspace = true
|
|
log = "0.4"
|
|
spirv = { version = "0.3", optional = true }
|
|
thiserror.workspace = true
|
|
serde = { version = "1.0.208", features = ["derive"], optional = true }
|
|
petgraph = { version = "0.6", optional = true }
|
|
pp-rs = { version = "0.2.1", optional = true }
|
|
hexf-parse = { version = "0.2.1", optional = true }
|
|
unicode-xid = { version = "0.2.5", optional = true }
|
|
|
|
[build-dependencies]
|
|
cfg_aliases.workspace = true
|
|
|
|
[dev-dependencies]
|
|
diff = "0.1"
|
|
env_logger.workspace = true
|
|
# This _cannot_ have a version specified. If it does, crates.io will look
|
|
# for a version of the package on crates when we publish naga. Path dependencies
|
|
# are allowed through though.
|
|
hlsl-snapshots = { path = "./hlsl-snapshots" }
|
|
# Require at least version 0.7.1 of ron, this version changed how floating points are
|
|
# serialized by forcing them to always have the decimal part, this makes it backwards
|
|
# incompatible with our tests because we do a syntactic diff and not a semantic one.
|
|
ron = "0.8.0"
|
|
rspirv = { version = "0.11", git = "https://github.com/gfx-rs/rspirv", rev = "b969f175d5663258b4891e44b76c1544da9661ab" }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
spirv = { version = "0.3", features = ["deserialize"] }
|