stensor 0.4.2

Cross-platform GPU tensor library with Slang and Rust.
# 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 = "stensor"
version = "0.4.2"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform GPU tensor library with Slang and Rust."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/dimforge/stensor"

[features]
comptime = ["slang-hal/comptime"]
cpu = ["slang-hal/cpu"]
cublas = ["slang-hal/cublas"]
cuda = [
    "cudarc",
    "slang-hal/cuda",
]
metal = ["slang-hal/metal"]
runtime = ["slang-hal/runtime"]
vulkan = ["slang-hal/vulkan"]
webgpu = ["slang-hal/webgpu"]

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

[[example]]
name = "gemm_bench"
path = "examples/gemm_bench.rs"

[dependencies.bytemuck]
version = "1"

[dependencies.cudarc]
version = "0.16"
optional = true

[dependencies.encase]
version = "0.12"

[dependencies.include_dir]
version = "0.7"

[dependencies.nalgebra]
version = "0.34"
features = ["encase"]

[dependencies.slang-hal]
version = "0.4"
features = ["derive"]

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.async-std]
version = "1"
features = ["attributes"]

[dev-dependencies.futures-test]
version = "0.3"

[dev-dependencies.indexmap]
version = "2"

[dev-dependencies.minislang]
version = "0.4"

[dev-dependencies.nalgebra]
version = "0.34"
features = ["rand"]

[dev-dependencies.plotly]
version = "0.12.1"

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.wgpu]
version = "27"

[build-dependencies.include_dir]
version = "0.7"

[build-dependencies.minislang]
version = "0.4"

[build-dependencies.slang-hal-build]
version = "0.4"