[package]
name = "tig-algorithms"
version = "0.1.0"
readme = "README.md"
authors.workspace = true
repository.workspace = true
edition.workspace = true

[dependencies]
anyhow = "1.0.81"
cudarc = { version = "0.16.2", features = [
    "cuda-version-from-build-system",
], optional = true }
ndarray = "0.15.6"
rand = { version = "0.8.5", default-features = false, features = [
    "std_rng",
    "small_rng",
] }
tig-challenges = { path = "../tig-challenges" }
rayon = "1.10.0"

[lib]
crate-type = ["cdylib", "rlib"]

[features]
cuda = ["cudarc", "tig-challenges/cuda"]
