mirror of
https://github.com/Sunscreen-tech/Sunscreen.git
synced 2026-01-14 16:17:56 -05:00
53 lines
1.4 KiB
TOML
53 lines
1.4 KiB
TOML
[package]
|
|
name = "sunscreen_math"
|
|
version = "0.7.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bytemuck = { workspace = true, optional = true }
|
|
lazy_static = { workspace = true }
|
|
metal = { workspace = true, optional = true }
|
|
rand = { workspace = true }
|
|
curve25519-dalek = { workspace = true }
|
|
rayon = { workspace = true }
|
|
ocl = { workspace = true, optional = true }
|
|
futures = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true }
|
|
wgpu = { workspace = true, optional = true }
|
|
cust = { workspace = true, optional = true }
|
|
num = { workspace = true }
|
|
crypto-bigint = { workspace = true }
|
|
paste = { workspace = true }
|
|
thiserror = {workspace = true }
|
|
sunscreen_math_macros = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
naga = { workspace = true, optional = true }
|
|
wgpu-core = { workspace = true, optional = true }
|
|
ocl = { workspace = true, optional = true }
|
|
find_cuda_helper = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
bytemuck = { workspace = true }
|
|
criterion = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
nightly-features = []
|
|
cuda = ["dep:find_cuda_helper", "dep:cust", "gpu"]
|
|
metal = ["dep:metal", "gpu"]
|
|
webgpu = ["dep:wgpu", "dep:tokio", "dep:futures", "dep:naga", "dep:wgpu-core", "dep:bytemuck", "gpu"]
|
|
opencl = ["dep:ocl", "gpu"]
|
|
gpu = []
|
|
pina = []
|
|
|
|
[[bench]]
|
|
name = "gpu"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "cpu"
|
|
harness = false
|