176 lines
2.9 KiB
TOML
176 lines
2.9 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.63"
|
|
name = "naga"
|
|
version = "0.13.0"
|
|
authors = ["Naga Developers"]
|
|
exclude = [
|
|
"bin/**/*",
|
|
"tests/**/*",
|
|
"Cargo.lock",
|
|
"target/**/*",
|
|
]
|
|
description = "Shader translation infrastructure"
|
|
homepage = "https://github.com/gfx-rs/naga"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"shader",
|
|
"SPIR-V",
|
|
"GLSL",
|
|
"MSL",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/gfx-rs/naga"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
|
|
[[bench]]
|
|
name = "criterion"
|
|
harness = false
|
|
|
|
[dependencies.arbitrary]
|
|
version = "1.0.2"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.bit-set]
|
|
version = "0.5"
|
|
|
|
[dependencies.bitflags]
|
|
version = "2"
|
|
|
|
[dependencies.codespan-reporting]
|
|
version = "0.11.0"
|
|
optional = true
|
|
|
|
[dependencies.hexf-parse]
|
|
version = "0.2.1"
|
|
optional = true
|
|
|
|
[dependencies.indexmap]
|
|
version = "1.9.2"
|
|
features = ["std"]
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.num-traits]
|
|
version = "0.2"
|
|
|
|
[dependencies.petgraph]
|
|
version = "0.6"
|
|
optional = true
|
|
|
|
[dependencies.pp-rs]
|
|
version = "0.2.1"
|
|
optional = true
|
|
|
|
[dependencies.rustc-hash]
|
|
version = "1.1.0"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.103"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.spirv]
|
|
version = "0.2"
|
|
optional = true
|
|
|
|
[dependencies.termcolor]
|
|
version = "1.0.4"
|
|
optional = true
|
|
|
|
[dependencies.thiserror]
|
|
version = "1.0.21"
|
|
|
|
[dependencies.unicode-xid]
|
|
version = "0.2.3"
|
|
optional = true
|
|
|
|
[dev-dependencies.bincode]
|
|
version = "1"
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.5"
|
|
features = []
|
|
|
|
[dev-dependencies.diff]
|
|
version = "0.1"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.10"
|
|
|
|
[dev-dependencies.ron]
|
|
version = "0.8.0"
|
|
|
|
[dev-dependencies.rspirv]
|
|
version = "0.11"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[dev-dependencies.spirv]
|
|
version = "0.2"
|
|
features = ["deserialize"]
|
|
|
|
[features]
|
|
arbitrary = [
|
|
"dep:arbitrary",
|
|
"bitflags/arbitrary",
|
|
"indexmap/arbitrary",
|
|
]
|
|
clone = []
|
|
default = []
|
|
deserialize = [
|
|
"serde",
|
|
"bitflags/serde",
|
|
"indexmap/serde-1",
|
|
]
|
|
dot-out = []
|
|
glsl-in = ["pp-rs"]
|
|
glsl-out = []
|
|
hlsl-out = []
|
|
msl-out = []
|
|
serialize = [
|
|
"serde",
|
|
"bitflags/serde",
|
|
"indexmap/serde-1",
|
|
]
|
|
span = [
|
|
"codespan-reporting",
|
|
"termcolor",
|
|
]
|
|
spv-in = [
|
|
"petgraph",
|
|
"spirv",
|
|
]
|
|
spv-out = ["spirv"]
|
|
validate = []
|
|
wgsl-in = [
|
|
"codespan-reporting",
|
|
"hexf-parse",
|
|
"termcolor",
|
|
"unicode-xid",
|
|
]
|
|
wgsl-out = []
|