# 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" name = "naga-types" version = "29.0.0" authors = ["gfx-rs developers"] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Common types for naga and wgpu" homepage = "https://wgpu.rs/" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/gfx-rs/wgpu" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [features] arbitrary = [ "dep:arbitrary", "std", "indexmap/arbitrary", ] deserialize = [ "dep:serde", "indexmap/serde", ] serialize = [ "dep:serde", "indexmap/serde", ] std = [] [lib] name = "naga_types" path = "src/lib.rs" [dependencies.arbitrary] version = "1.4.2" features = ["derive"] optional = true [dependencies.hashbrown] version = "0.17" features = [ "default-hasher", "inline-more", ] default-features = false [dependencies.indexmap] version = "2.11.4" default-features = false [dependencies.rustc-hash] version = "1.1" default-features = false [dependencies.serde] version = "1.0.225" features = [ "alloc", "derive", ] optional = true default-features = false [dependencies.thiserror] version = "2.0.12" default-features = false [lints.clippy] ref_as_ptr = "warn"