[package]
name = "manifolds-rs"
version = "0.2.0"
edition = "2021"
authors = ["Gregor Lueg <gregorlueg@me.com>"]
license = "MIT"
repository = "https://github.com/GregorLueg/manifolds-rs"
description = "Embedding methods implemented into Rust: (parametric) UMAP, tSNE, PHATE and PacMAP are supported."

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

[profile.test]
opt-level = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true

[features]
parametric = ["burn"]
fft_tsne = ["fftw"]
gpu = ["ann-search-rs/gpu", "cubecl"]

[dependencies]
burn = { version = "0.19.1", features = [
    "dataset",
    "train",
    "ndarray",
], optional = true }
ann-search-rs = {version = "0.2.13", optional = false}
approx = "0.5.1"
faer = "0.23.2"
faer-traits = "0.23.2"
num-traits = "0.2.19"
rand = "0.9.2"
rand_distr = "0.5.1"
rayon = "1.11.0"
rustc-hash = "2.1.1"
thousands = "0.2.0"
fftw = {version = "0.8.0", optional = true }
cubecl = {version = "0.9.0", optional = true}
