mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
95c604e441
Bumps the patch-updates group with 6 updates: | Package | From | To | | --- | --- | --- | | [document-features](https://github.com/slint-ui/document-features) | `0.2.9` | `0.2.10` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.61` | `1.0.62` | | [syn](https://github.com/dtolnay/syn) | `2.0.70` | `2.0.71` | | [bytes](https://github.com/tokio-rs/bytes) | `1.6.0` | `1.6.1` | | [cc](https://github.com/rust-lang/cc-rs) | `1.1.0` | `1.1.5` | | [thiserror-impl](https://github.com/dtolnay/thiserror) | `1.0.61` | `1.0.62` | Updates `document-features` from 0.2.9 to 0.2.10 - [Release notes](https://github.com/slint-ui/document-features/releases) - [Changelog](https://github.com/slint-ui/document-features/blob/master/CHANGELOG.md) - [Commits](https://github.com/slint-ui/document-features/commits) Updates `thiserror` from 1.0.61 to 1.0.62 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62) Updates `syn` from 2.0.70 to 2.0.71 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.70...2.0.71) Updates `bytes` from 1.6.0 to 1.6.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.6.0...v1.6.1) Updates `cc` from 1.1.0 to 1.1.5 - [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.0...cc-v1.1.5) Updates `thiserror-impl` from 1.0.61 to 1.0.62 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62) --- updated-dependencies: - dependency-name: document-features 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: syn dependency-type: direct:production 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: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: thiserror-impl 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>
98 lines
3.5 KiB
TOML
98 lines
3.5 KiB
TOML
[package]
|
|
name = "naga"
|
|
version = "0.20.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"
|
|
rust-version = "1.74"
|
|
autotests = false
|
|
|
|
[[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 }
|
|
bitflags = "2.6"
|
|
bit-set = "0.6"
|
|
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 = "1.1.0"
|
|
indexmap = { version = "2", features = ["std"] }
|
|
log = "0.4"
|
|
spirv = { version = "0.3", optional = true }
|
|
thiserror = "1.0.62"
|
|
serde = { version = "1.0.204", 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.3", optional = true }
|
|
arrayvec.workspace = true
|
|
|
|
[build-dependencies]
|
|
cfg_aliases.workspace = true
|
|
|
|
[dev-dependencies]
|
|
diff = "0.1"
|
|
env_logger = "0.11"
|
|
# 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 = { version = "1.0", features = ["derive"] }
|
|
spirv = { version = "0.3", features = ["deserialize"] }
|