195 lines
3.5 KiB
TOML
195 lines
3.5 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 = "27.0.3"
|
|
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",
|
|
"makepad-half/arbitrary",
|
|
"makepad-half/std",
|
|
]
|
|
default = []
|
|
deserialize = [
|
|
"dep:serde",
|
|
"bitflags/serde",
|
|
"makepad-half/serde",
|
|
"hashbrown/serde",
|
|
"indexmap/serde",
|
|
]
|
|
fs = []
|
|
glsl-in = ["dep:pp-rs"]
|
|
serialize = [
|
|
"dep:serde",
|
|
"bitflags/serde",
|
|
"makepad-half/serde",
|
|
"hashbrown/serde",
|
|
"indexmap/serde",
|
|
]
|
|
spv-in = [
|
|
"dep:petgraph",
|
|
"petgraph/graphmap",
|
|
"dep:spirv",
|
|
]
|
|
spv-out = ["dep:spirv"]
|
|
stderr = []
|
|
termcolor = []
|
|
wgsl-in = [
|
|
"dep:hexf-parse",
|
|
"dep:unicode-ident",
|
|
]
|
|
|
|
[lib]
|
|
name = "naga"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.arbitrary]
|
|
version = "1.4.2"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.arrayvec]
|
|
path = "../arrayvec"
|
|
version = "0.7.1"
|
|
default-features = false
|
|
|
|
[dependencies.bit-set]
|
|
path = "../bit-set"
|
|
version = "0.8"
|
|
default-features = false
|
|
|
|
[dependencies.bitflags]
|
|
version = "2.9"
|
|
|
|
[dependencies.cfg-if]
|
|
path = "../../cfg-if"
|
|
version = "1"
|
|
|
|
[dependencies.makepad-half]
|
|
path = "../makepad-half"
|
|
version = "2.7.1"
|
|
features = ["num-traits"]
|
|
default-features = false
|
|
|
|
[dependencies.hashbrown]
|
|
path = "../hashbrown"
|
|
version = "0.16"
|
|
features = [
|
|
"default-hasher",
|
|
"inline-more",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.hexf-parse]
|
|
path = "../hexf-parse"
|
|
version = "0.2"
|
|
optional = true
|
|
|
|
[dependencies.indexmap]
|
|
path = "../indexmap"
|
|
version = "2.8"
|
|
default-features = false
|
|
|
|
[dependencies.makepad-error-log]
|
|
path = "../../error_log"
|
|
version = "1.0.0"
|
|
|
|
[dependencies.num-traits]
|
|
path = "../num-traits"
|
|
version = "0.2.16"
|
|
default-features = false
|
|
|
|
[dependencies.once_cell]
|
|
path = "../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]
|
|
path = "../rustc-hash"
|
|
version = "1.1"
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.219"
|
|
features = [
|
|
"alloc",
|
|
"derive",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.spirv]
|
|
path = "../spirv"
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[dependencies.thiserror]
|
|
path = "../thiserror"
|
|
version = "2.0.12"
|
|
default-features = false
|
|
|
|
[dependencies.unicode-ident]
|
|
version = "1.0.5"
|
|
optional = true
|
|
|
|
[build-dependencies.cfg_aliases]
|
|
path = "../cfg_aliases"
|
|
version = "0.2.1"
|
|
|
|
[lints.clippy]
|
|
alloc_instead_of_core = "warn"
|
|
std_instead_of_alloc = "warn"
|
|
std_instead_of_core = "warn"
|