# 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.65" name = "librashader-naga" version = "0.14.0" authors = ["gfx-rs developers"] exclude = [ "bin/**/*", "tests/**/*", "Cargo.lock", "target/**/*", ] autotests = false description = "Shader translation infrastructure" readme = "README.md" keywords = [ "shader", "SPIR-V", "GLSL", "MSL", ] license = "MIT OR Apache-2.0" repository = "https://github.com/gfx-rs/wgpu/tree/trunk/naga" resolver = "2" [package.metadata.docs.rs] all-features = true [[test]] name = "naga-test" path = "tests/root.rs" [[bench]] name = "criterion" harness = false [dependencies.arbitrary] version = "1.3" features = ["derive"] optional = true [dependencies.bit-set] version = "0.5" [dependencies.bitflags] version = "2.2" [dependencies.codespan-reporting] version = "0.11.0" [dependencies.hexf-parse] version = "0.2.1" optional = true [dependencies.indexmap] version = "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.193" features = ["derive"] optional = true [dependencies.spirv] version = "0.2" optional = true [dependencies.termcolor] version = "1.4.0" [dependencies.thiserror] version = "1.0.21" [dependencies.unicode-xid] version = "0.2.3" optional = true [dev-dependencies.bincode] version = "1" [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 = [] compact = [] default = [] deserialize = [ "serde", "bitflags/serde", "indexmap/serde", ] dot-out = [] glsl-in = ["pp-rs"] glsl-out = [] hlsl-out = [] msl-out = [] serialize = [ "serde", "bitflags/serde", "indexmap/serde", ] spv-in = [ "petgraph", "spirv", ] spv-out = ["spirv"] wgsl-in = [ "hexf-parse", "unicode-xid", "compact", ] wgsl-out = [] [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion] version = "0.5" features = []