khal-std 0.1.1

GPU standard library for khal compute shaders, with cross-platform primitives compiling to SPIR-V, CUDA PTX, and CPU targets.
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 = "khal-std"
version = "0.1.1"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU standard library for khal compute shaders, with cross-platform primitives compiling to SPIR-V, CUDA PTX, and CPU targets."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/dimforge/khal"
resolver = "2"

[features]
cpu = ["corosensei"]
cpu-parallel = [
    "cpu",
    "rayon",
]
cuda = []
unsafe_remove_boundchecks = []

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

[dependencies.corosensei]
version = "0.3"
optional = true

[dependencies.glamx]
version = "0.2"
features = [
    "nostd-libm",
    "bytemuck",
]
default-features = false

[dependencies.khal-derive]
version = "0.1.0"

[dependencies.rayon]
version = "1"
optional = true

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

[target.'cfg(not(target_arch = "nvptx64"))'.dependencies.spirv-std]
version = "0.10.0-alpha.1"

[target.'cfg(target_arch = "nvptx64")'.dependencies]

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