# 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.75" name = "vello_shaders" version = "0.3.0" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Vello infrastructure to preprocess and cross-compile shaders at compile time." readme = "README.md" license = "Apache-2.0 OR MIT" repository = "https://github.com/linebender/vello" [lib] name = "vello_shaders" path = "src/lib.rs" [dependencies.bytemuck] version = "1.18.0" features = ["derive"] optional = true [dependencies.naga] version = "22.1.0" features = ["wgsl-in"] optional = true [dependencies.thiserror] version = "1.0.64" optional = true [dependencies.vello_encoding] version = "0.3.0" optional = true [build-dependencies.naga] version = "22.1.0" features = ["wgsl-in"] [build-dependencies.thiserror] version = "1.0.64" [features] compile = [ "dep:naga", "dep:thiserror", ] cpu = [ "dep:bytemuck", "dep:vello_encoding", ] default = [ "wgsl", "full", "cpu", ] full = [] msl = ["naga?/msl-out"] wgsl = [] [lints.clippy] doc_markdown = "warn" semicolon_if_nothing_returned = "warn"