spirv-std 0.10.0-alpha.1

Standard functions and types for SPIR-V
Documentation
# 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 = "2024"
name = "spirv-std"
version = "0.10.0-alpha.1"
authors = [
    "rust-gpu developers",
    "Embark <opensource@embark-studios.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standard functions and types for SPIR-V"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-gpu/rust-gpu"
resolver = "2"

[features]
bytemuck = [
    "dep:bytemuck",
    "glam/bytemuck",
]
default = []

[lib]
name = "spirv_std"
path = "src/lib.rs"

[dependencies.bitflags]
version = "1.3.2"

[dependencies.bytemuck]
version = "1.18.0"
features = ["derive"]
optional = true

[dependencies.spirv-std-macros]
version = "=0.10.0-alpha.1"

[dependencies.spirv-std-types]
version = "=0.10.0-alpha.1"

[target.'cfg(not(target_arch = "spirv"))'.dependencies.glam]
version = ">=0.30.8"
default-features = true

[target.'cfg(not(target_arch = "spirv"))'.dependencies.num-traits]
version = "0.2.15"
default-features = true

[target.'cfg(target_arch = "spirv")'.dependencies.glam]
version = ">=0.30.8"
features = ["libm"]
default-features = false

[target.'cfg(target_arch = "spirv")'.dependencies.libm]
version = "0.2.5"
default-features = false

[target.'cfg(target_arch = "spirv")'.dependencies.num-traits]
version = "0.2.15"
features = ["libm"]
default-features = false

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ['cfg(target_arch, values("spirv"))']