flow-pacmap 0.1.2

PaCMAP dimensionality reduction (Wang et al. 2021) for large-n flow cytometry — faer PCA, optional HNSW and k-d tree KNN
Documentation
# 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 = "flow-pacmap"
version = "0.1.2"
authors = ["James Moynihan"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PaCMAP dimensionality reduction (Wang et al. 2021) for large-n flow cytometry — faer PCA, optional HNSW and k-d tree KNN"
readme = "README.md"
keywords = [
    "pacmap",
    "dim-reduction",
    "embedding",
    "flow-cytometry",
]
categories = [
    "science",
    "algorithms",
    "mathematics",
]
license = "MIT"
repository = "https://github.com/jrmoynihan/flow/flow-pacmap"

[package.metadata.scripts]
dry-release = "cargo smart-release flow-pacmap --update-crates-index"
publish = "cargo smart-release flow-pacmap --update-crates-index --execute"
changelog = "cargo changelog flow-pacmap --write"

[features]
ann-search = ["flow-knn/ann-search"]
cubecl = [
    "dep:cubecl",
    "dep:burn",
    "dep:bytemuck",
]
default = [
    "hnsw",
    "kdtree",
]
gpu-knn = [
    "flow-knn/gpu",
    "ann-search",
]
hnsw = ["flow-knn/hnsw"]
kdtree = ["flow-knn/kdtree"]

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

[[bench]]
name = "gradient_micro"
path = "benches/gradient_micro.rs"
harness = false

[[bench]]
name = "pacmap_compare"
path = "benches/pacmap_compare.rs"
harness = false
required-features = ["ann-search"]

[[bench]]
name = "pacmap_optimize_gpu"
path = "benches/pacmap_optimize_gpu.rs"
harness = false
required-features = [
    "cubecl",
    "ann-search",
]

[dependencies.burn]
version = "0.21"
features = [
    "std",
    "wgpu",
]
optional = true
default-features = false

[dependencies.bytemuck]
version = "1.24"
features = ["derive"]
optional = true

[dependencies.cubecl]
version = "0.10"
features = [
    "std",
    "wgpu",
]
optional = true
default-features = false

[dependencies.faer]
version = "0.24"
features = ["rayon"]

[dependencies.flow-dimensional-reduction]
version = "^0.1.0"

[dependencies.flow-knn]
version = "^0.1.1"
default-features = false

[dependencies.rand]
version = "0.10.2"

[dependencies.rayon]
version = "1.11"

[dependencies.thiserror]
version = "2.0.19"

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

[dev-dependencies.criterion]
version = "0.8.1"
features = ["html_reports"]

[dev-dependencies.faer23]
version = "=0.23.2"
package = "faer"

[dev-dependencies.manifolds-rs]
version = "0.3.9"

[dev-dependencies.oxicuda-manifold]
version = "0.5.1"

[dev-dependencies.rand]
version = "0.10.2"