[package]
edition = "2021"
name = "fynch"
version = "0.1.2"
authors = ["Arc <attobop@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Differentiable sorting and ranking: PAVA, Fenchel-Young losses, and O(n log n) FastSoftSort"
homepage = "https://github.com/arclabs561/fynch"
documentation = "https://docs.rs/fynch"
readme = "README.md"
keywords = [
"sorting",
"ranking",
"differentiable",
"fenchel-young",
"fastsoftsort",
]
categories = [
"algorithms",
"science",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/fynch"
[features]
default = []
gumbel = [
"dep:kuji",
"dep:rand",
]
simd = ["dep:innr"]
[lib]
name = "fynch"
path = "src/lib.rs"
[[example]]
name = "soft_rank_shootout"
path = "examples/soft_rank_shootout.rs"
[[test]]
name = "curvature_props"
path = "tests/curvature_props.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "sorting_network_props"
path = "tests/sorting_network_props.rs"
[[bench]]
name = "fy_bench"
path = "benches/fy_bench.rs"
harness = false
[[bench]]
name = "sinkhorn_bench"
path = "benches/sinkhorn_bench.rs"
harness = false
[dependencies.innr]
version = "0.2"
optional = true
[dependencies.kuji]
version = "0.1.7"
optional = true
[dependencies.logp]
version = "0.2"
[dependencies.rand]
version = "0.9"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.rankit]
version = "0.1"
features = ["losses"]
[dev-dependencies.serde_json]
version = "1.0"