# 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 = "asap-ranking"
version = "0.1.3"
authors = ["ASAP Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Active Sampling for Pairwise Comparisons (ASAP) algorithm implementation in Rust"
readme = "README.md"
keywords = [
    "ranking",
    "comparison",
    "active-learning",
    "asap",
    "pairwise",
]
categories = [
    "algorithms",
    "science",
]
license = "AGPL-3.0"
repository = "https://github.com/sanity/asap/"

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

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

[[bin]]
name = "example"
path = "src/bin/example.rs"

[[test]]
name = "experiment_test"
path = "tests/experiment_test.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

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

[dependencies.nalgebra]
version = "0.32.3"

[dependencies.rand]
version = "0.8.5"

[dependencies.rand_chacha]
version = "0.3.1"

[dependencies.rand_distr]
version = "0.4.3"

[dependencies.rayon]
version = "1.8.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.statrs]
version = "0.16.0"

[dependencies.thiserror]
version = "1.0.50"

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

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

[dev-dependencies.rand_chacha]
version = "0.3.1"
