252 lines
4.4 KiB
TOML
252 lines
4.4 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.82.0"
|
|
name = "naga"
|
|
version = "25.0.0"
|
|
authors = ["gfx-rs developers"]
|
|
build = "build.rs"
|
|
exclude = [
|
|
"bin/**/*",
|
|
"tests/**/*",
|
|
"Cargo.lock",
|
|
"target/**/*",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Shader translator and validator. Part of the wgpu project"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"shader",
|
|
"SPIR-V",
|
|
"GLSL",
|
|
"MSL",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/gfx-rs/wgpu"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
arbitrary = [
|
|
"dep:arbitrary",
|
|
"bitflags/arbitrary",
|
|
"indexmap/arbitrary",
|
|
"half/arbitrary",
|
|
"half/std",
|
|
]
|
|
compact = []
|
|
default = []
|
|
deserialize = [
|
|
"dep:serde",
|
|
"bitflags/serde",
|
|
"half/serde",
|
|
"hashbrown/serde",
|
|
"indexmap/serde",
|
|
]
|
|
dot-out = []
|
|
glsl-in = ["dep:pp-rs"]
|
|
glsl-out = []
|
|
hlsl-out = []
|
|
hlsl-out-if-target-windows = []
|
|
msl-out = []
|
|
msl-out-if-target-apple = []
|
|
serialize = [
|
|
"dep:serde",
|
|
"bitflags/serde",
|
|
"half/serde",
|
|
"hashbrown/serde",
|
|
"indexmap/serde",
|
|
]
|
|
spv-in = [
|
|
"dep:petgraph",
|
|
"petgraph/graphmap",
|
|
"dep:spirv",
|
|
]
|
|
spv-out = ["dep:spirv"]
|
|
stderr = ["codespan-reporting/std"]
|
|
termcolor = ["codespan-reporting/termcolor"]
|
|
wgsl-in = [
|
|
"dep:hexf-parse",
|
|
"dep:strum",
|
|
"dep:unicode-ident",
|
|
"compact",
|
|
]
|
|
wgsl-out = []
|
|
|
|
[lib]
|
|
name = "naga"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.arbitrary]
|
|
version = "1.4"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.arrayvec]
|
|
version = "0.7.1"
|
|
default-features = false
|
|
|
|
[dependencies.bit-set]
|
|
version = "0.8"
|
|
default-features = false
|
|
|
|
[dependencies.bitflags]
|
|
version = "2.9"
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1"
|
|
|
|
[dependencies.codespan-reporting]
|
|
version = "0.12"
|
|
default-features = false
|
|
|
|
[dependencies.half]
|
|
version = "2.5"
|
|
features = ["num-traits"]
|
|
default-features = false
|
|
|
|
[dependencies.hashbrown]
|
|
version = "0.15"
|
|
features = [
|
|
"default-hasher",
|
|
"inline-more",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.hexf-parse]
|
|
version = "0.2"
|
|
optional = true
|
|
|
|
[dependencies.indexmap]
|
|
version = "2.7"
|
|
default-features = false
|
|
|
|
[dependencies.libm]
|
|
version = "0.2.6"
|
|
default-features = false
|
|
|
|
[dependencies.log]
|
|
version = "0.4.21"
|
|
|
|
[dependencies.num-traits]
|
|
version = "0.2.16"
|
|
default-features = false
|
|
|
|
[dependencies.once_cell]
|
|
version = "1.21"
|
|
features = [
|
|
"alloc",
|
|
"race",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.petgraph]
|
|
version = "0.8"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.pp-rs]
|
|
version = "0.2.1"
|
|
optional = true
|
|
|
|
[dependencies.rustc-hash]
|
|
version = "1.1"
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.219"
|
|
features = [
|
|
"alloc",
|
|
"derive",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.spirv]
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[dependencies.strum]
|
|
version = "0.27"
|
|
features = ["derive"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.thiserror]
|
|
version = "2.0.3"
|
|
default-features = false
|
|
|
|
[dependencies.unicode-ident]
|
|
version = "1.0.5"
|
|
optional = true
|
|
|
|
[dev-dependencies.diff]
|
|
version = "0.1"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.11"
|
|
default-features = false
|
|
|
|
[dev-dependencies.hashbrown]
|
|
version = "0.15"
|
|
features = [
|
|
"default-hasher",
|
|
"inline-more",
|
|
"serde",
|
|
]
|
|
default-features = false
|
|
|
|
[dev-dependencies.hlsl-snapshots]
|
|
path = "hlsl-snapshots"
|
|
|
|
[dev-dependencies.itertools]
|
|
version = "0.14"
|
|
|
|
[dev-dependencies.ron]
|
|
version = "0.10"
|
|
|
|
[dev-dependencies.rspirv]
|
|
version = "0.11"
|
|
git = "https://github.com/gfx-rs/rspirv"
|
|
rev = "b969f175d5663258b4891e44b76c1544da9661ab"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0.219"
|
|
features = [
|
|
"default",
|
|
"derive",
|
|
]
|
|
default-features = false
|
|
|
|
[dev-dependencies.spirv]
|
|
version = "0.3"
|
|
features = ["deserialize"]
|
|
|
|
[dev-dependencies.toml]
|
|
version = "0.8"
|
|
|
|
[dev-dependencies.walkdir]
|
|
version = "2.3"
|
|
|
|
[build-dependencies.cfg_aliases]
|
|
version = "0.2.1"
|
|
|
|
[lints.clippy]
|
|
alloc_instead_of_core = "warn"
|
|
std_instead_of_alloc = "warn"
|
|
std_instead_of_core = "warn"
|