Thanks for your interest in contributing to superkmeans-rs!
- Rust 1.89+ (the minimum supported Rust version)
- Optional, for the BLAS backends:
openblas— a system OpenBLAS (libopenblas-devon Debian/Ubuntu,brew install openblason macOS)accelerate— macOS only; uses the system Accelerate framework (no extra install)
cargo build # Default build (pure-Rust matrixmultiply backend)
cargo build --features openblas # Route SGEMM through a system OpenBLAS
cargo build --features accelerate # Route SGEMM through Apple Accelerate (macOS)
cargo test # Run tests
cargo run --example simple_clusteringThe blas feature is an internal marker — enable a concrete backend
(openblas or accelerate) rather than blas directly. Do not enable
accelerate and openblas at the same time.
Before submitting a PR, make sure CI checks pass locally:
cargo fmt --all -- --check
cargo clippy -- -D warnings
cargo test- Fork the repository and create a branch from
main. - Add tests for any new functionality or bug fixes.
- Run the checks above.
- Open a pull request against
main.
Open an issue on GitHub with a clear description of the problem or feature request.
By contributing, you agree that your contributions will be licensed under the MIT License.