Installation
caps-sa requires Rust 1.89 or newer (the AVX-512 LCP fast path uses intrinsics stabilised in 1.89; the crate still compiles on 1.88 without that one fast path).
The library
Section titled “The library”Add it from crates.io:
cargo add caps-saOr pin it in Cargo.toml directly:
[dependencies]caps-sa = "0.7"The crate has a small dependency surface — rayon and tempfile — and no C/C++ build step.
The CLI
Section titled “The CLI”The caps_sa command is shipped as a Cargo example. Build it from a clone:
git clone https://github.com/COMBINE-lab/caps-sacd caps-sacargo build --release --example caps_saOr install it onto your $PATH straight from the repository:
cargo install --git https://github.com/COMBINE-lab/caps-sa --example caps_saPlatform support
Section titled “Platform support”The in-memory and external-memory paths build and run on Linux, macOS, and Windows (x86-64 and aarch64). The SIMD LCP kernel auto-selects the best available backend at runtime — AVX-512BW → AVX2 → NEON → scalar — so a binary built on one host stays correct on another.
Next: Quick start.