21 lines
694 B
TOML
21 lines
694 B
TOML
[package]
|
|
name = "shared"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
bitflags = "2.10.0"
|
|
half = "2.7.1"
|
|
bytemuck = { version = "1.24.0", features = ["derive"] }
|
|
enum_dispatch = "0.3.13"
|
|
ash = { version = "0.38", optional = true }
|
|
parking_lot = { version = "0.12.5", optional = true }
|
|
gpu-allocator = { version = "0.28", features = ["vulkan"], optional = true }
|
|
num-traits = { version = "0.2.19", default-features = false, features = ["libm"] }
|
|
cuda_std = { git = "https://github.com/Rust-GPU/Rust-CUDA", branch = "main", default-features = false, optional = true }
|
|
|
|
[features]
|
|
use_f64 = []
|
|
cuda = ["cuda_std"]
|
|
cpu_debug = []
|
|
vulkan = ["dep:ash", "dep:gpu-allocator", "dep:parking_lot"]
|