mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Bumps the patch-updates group with 25 updates: | Package | From | To | | --- | --- | --- | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.96` | `1.0.97` | | [bytemuck](https://github.com/Lokathor/bytemuck) | `1.21.0` | `1.22.0` | | [serde_json](https://github.com/serde-rs/json) | `1.0.139` | `1.0.140` | | [serde](https://github.com/serde-rs/serde) | `1.0.218` | `1.0.219` | | [trybuild](https://github.com/dtolnay/trybuild) | `1.0.103` | `1.0.104` | | [thiserror](https://github.com/dtolnay/thiserror) | `2.0.11` | `2.0.12` | | [tokio](https://github.com/tokio-rs/tokio) | `1.43.0` | `1.44.0` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.17` | `1.0.18` | | [quote](https://github.com/dtolnay/quote) | `1.0.38` | `1.0.39` | | [syn](https://github.com/dtolnay/syn) | `2.0.98` | `2.0.100` | | [async-trait](https://github.com/dtolnay/async-trait) | `0.1.86` | `0.1.87` | | [bytes](https://github.com/tokio-rs/bytes) | `1.10.0` | `1.10.1` | | [either](https://github.com/rayon-rs/either) | `1.14.0` | `1.15.0` | | [is-terminal](https://github.com/sunfishcode/is-terminal) | `0.4.15` | `0.4.16` | | [itoa](https://github.com/dtolnay/itoa) | `1.0.14` | `1.0.15` | | oorandom | `11.1.4` | `11.1.5` | | [pin-project](https://github.com/taiki-e/pin-project) | `1.1.9` | `1.1.10` | | [pin-project-internal](https://github.com/taiki-e/pin-project) | `1.1.9` | `1.1.10` | | [pkg-config](https://github.com/rust-lang/pkg-config-rs) | `0.3.31` | `0.3.32` | | [prettyplease](https://github.com/dtolnay/prettyplease) | `0.2.29` | `0.2.30` | | [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) | `3.2.0` | `3.3.0` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.93` | `1.0.94` | | [rustversion](https://github.com/dtolnay/rustversion) | `1.0.19` | `1.0.20` | | [ryu](https://github.com/dtolnay/ryu) | `1.0.19` | `1.0.20` | | [serde_derive](https://github.com/serde-rs/serde) | `1.0.218` | `1.0.219` | Updates `anyhow` from 1.0.96 to 1.0.97 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.96...1.0.97) Updates `bytemuck` from 1.21.0 to 1.22.0 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](https://github.com/Lokathor/bytemuck/compare/v1.21.0...v1.22.0) Updates `serde_json` from 1.0.139 to 1.0.140 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.139...v1.0.140) Updates `serde` from 1.0.218 to 1.0.219 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.218...v1.0.219) Updates `trybuild` from 1.0.103 to 1.0.104 - [Release notes](https://github.com/dtolnay/trybuild/releases) - [Commits](https://github.com/dtolnay/trybuild/compare/1.0.103...1.0.104) Updates `thiserror` from 2.0.11 to 2.0.12 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/2.0.11...2.0.12) Updates `tokio` from 1.43.0 to 1.44.0 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.0) Updates `unicode-ident` from 1.0.17 to 1.0.18 - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.17...1.0.18) Updates `quote` from 1.0.38 to 1.0.39 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.38...1.0.39) Updates `syn` from 2.0.98 to 2.0.100 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.98...2.0.100) Updates `async-trait` from 0.1.86 to 0.1.87 - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.86...0.1.87) Updates `bytes` from 1.10.0 to 1.10.1 - [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.10.0...v1.10.1) Updates `either` from 1.14.0 to 1.15.0 - [Commits](https://github.com/rayon-rs/either/compare/1.14.0...1.15.0) Updates `is-terminal` from 0.4.15 to 0.4.16 - [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.15...v0.4.16) Updates `itoa` from 1.0.14 to 1.0.15 - [Release notes](https://github.com/dtolnay/itoa/releases) - [Commits](https://github.com/dtolnay/itoa/compare/1.0.14...1.0.15) Updates `oorandom` from 11.1.4 to 11.1.5 Updates `pin-project` from 1.1.9 to 1.1.10 - [Release notes](https://github.com/taiki-e/pin-project/releases) - [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.9...v1.1.10) Updates `pin-project-internal` from 1.1.9 to 1.1.10 - [Release notes](https://github.com/taiki-e/pin-project/releases) - [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.9...v1.1.10) Updates `pkg-config` from 0.3.31 to 0.3.32 - [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.31...0.3.32) Updates `prettyplease` from 0.2.29 to 0.2.30 - [Release notes](https://github.com/dtolnay/prettyplease/releases) - [Commits](https://github.com/dtolnay/prettyplease/compare/0.2.29...0.2.30) Updates `proc-macro-crate` from 3.2.0 to 3.3.0 - [Release notes](https://github.com/bkchr/proc-macro-crate/releases) - [Commits](https://github.com/bkchr/proc-macro-crate/compare/v3.2.0...v3.3.0) Updates `proc-macro2` from 1.0.93 to 1.0.94 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.93...1.0.94) Updates `rustversion` from 1.0.19 to 1.0.20 - [Release notes](https://github.com/dtolnay/rustversion/releases) - [Commits](https://github.com/dtolnay/rustversion/compare/1.0.19...1.0.20) Updates `ryu` from 1.0.19 to 1.0.20 - [Release notes](https://github.com/dtolnay/ryu/releases) - [Commits](https://github.com/dtolnay/ryu/compare/1.0.19...1.0.20) Updates `serde_derive` from 1.0.218 to 1.0.219 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.218...v1.0.219) --- updated-dependencies: - dependency-name: anyhow 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: serde_json 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: trybuild dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: thiserror 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: unicode-ident dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: quote 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: async-trait dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: bytes 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: is-terminal 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: oorandom dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: pin-project dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: pin-project-internal 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: prettyplease dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: proc-macro-crate dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: proc-macro2 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: ryu 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 ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
128 lines
4.3 KiB
TOML
128 lines
4.3 KiB
TOML
[package]
|
|
name = "naga"
|
|
version = "24.0.0"
|
|
authors = ["gfx-rs developers"]
|
|
edition = "2021"
|
|
description = "Shader translator and validator. Part of the wgpu project"
|
|
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.82.0"
|
|
|
|
[[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", "hashbrown/serde", "indexmap/serde"]
|
|
deserialize = [
|
|
"dep:serde",
|
|
"bitflags/serde",
|
|
"hashbrown/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:strum",
|
|
"dep:unicode-ident",
|
|
"indexmap/std",
|
|
"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.4", 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" }
|
|
hashbrown.workspace = true
|
|
rustc-hash.workspace = true
|
|
indexmap.workspace = true
|
|
log = "0.4"
|
|
strum = { workspace = true, optional = true }
|
|
spirv = { version = "0.3", optional = true }
|
|
thiserror.workspace = true
|
|
serde = { version = "1.0.219", features = [
|
|
"default",
|
|
"derive",
|
|
], optional = true }
|
|
petgraph = { version = "0.7", optional = true }
|
|
pp-rs = { version = "0.2.1", optional = true }
|
|
hexf-parse = { version = "0.2.1", optional = true }
|
|
unicode-ident = { version = "1.0", optional = true }
|
|
|
|
[build-dependencies]
|
|
cfg_aliases.workspace = true
|
|
|
|
[dev-dependencies]
|
|
diff = "0.1"
|
|
env_logger.workspace = true
|
|
hashbrown = { workspace = true, features = ["serde"] }
|
|
# 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" }
|
|
itertools.workspace = true
|
|
# 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 = ["default", "derive"] }
|
|
spirv = { version = "0.3", features = ["deserialize"] }
|
|
toml = "0.8"
|
|
walkdir.workspace = true
|
|
|
|
[lints.clippy]
|
|
std_instead_of_alloc = "warn"
|
|
std_instead_of_core = "warn"
|
|
alloc_instead_of_core = "warn"
|