[package]
name = "asap-ranking"
version = "0.1.3"
edition = "2024"
description = "Active Sampling for Pairwise Comparisons (ASAP) algorithm implementation in Rust"
license = "AGPL-3.0"
authors = ["ASAP Contributors"]
repository = "https://github.com/sanity/asap/"
readme = "README.md"
keywords = ["ranking", "comparison", "active-learning", "asap", "pairwise"]
categories = ["algorithms", "science"]

[features]
default = ["serde"]
serde = ["dep:serde", "dep:serde_json"]

[dependencies]
nalgebra = "0.32.3"
rand = "0.8.5"
rand_distr = "0.4.3"
statrs = "0.16.0"
thiserror = "1.0.50"
rayon = "1.8.0"
rand_chacha = "0.3.1"
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }

[dev-dependencies]
criterion = "0.5.1"
approx = "0.5.1"
rand_chacha = "0.3.1"

[[bench]]
name = "asap_benchmark"
harness = false
