English

RustSAT: A Library For SAT Solving in Rust

Logic in Computer Science 2025-05-22 v1

Abstract

State-of-the-art Boolean satisfiability (SAT) solvers constitute a practical and competitive approach for solving various real-world problems. To encourage their widespread adoption, the relatively high barrier of entry following from the low level syntax of SAT and the expert knowledge required to achieve tight integration with SAT solvers should be further reduced. We present RustSAT, a library with the aim of making SAT solving technology readily available in the Rust programming language. RustSAT provides functionality for helping with generating (Max)SAT instances, writing them to, or reading them from files. Furthermore, RustSAT includes interfaces to various state-of-the-art SAT solvers available with a unified Rust API. Lastly, RustSAT implements several encodings for higher level constraints (at-most-one, cardinality, and pseudo-Boolean), which are also available via a C and Python API.

Keywords

Cite

@article{arxiv.2505.15221,
  title  = {RustSAT: A Library For SAT Solving in Rust},
  author = {Christoph Jabs},
  journal= {arXiv preprint arXiv:2505.15221},
  year   = {2025}
}
R2 v1 2026-07-01T02:27:39.477Z