score-set 0.3.0

A Rust library for building static weighted scoring operator sets
Documentation
[workspace]
members = ["xtask"]
resolver = "3"

[package]
name = "score-set"
version = "0.3.0"
edition = "2024"
description = "A Rust library for building static weighted scoring operator sets"
license = "MIT OR Apache-2.0"
repository = "https://github.com/jcfangc/score-set"
keywords = ["scoring", "weighted", "metric", "static", "score"]
categories = ["algorithms", "no-std", "science"]
exclude = [
    "src/lab.rs",
    "src/**/tests_for_*.rs",
]

[lib]
doctest = false

[dependencies]
libm = "0.2"
witnessed = "0.8.0"

# Precision features (default: f32 only).
#
#   (default)     → module metric_f32, types ScoreSet32 / Metric32 / …
#   f64           → module metric_f64, types ScoreSet64 / Metric64 / …
#   f64 + both    → metric_f32 + metric_f64, both type families available
#
# Run `cargo run -p xtask -- gen` after changing types in metric_f32.rs.
[[test]]
name = "both_precision"
required-features = ["both"]

[features]
f64 = []
both = ["f64"]