Skip to main content

csp_solver/builder/
mod.rs

1//! Fluent builders for common CSP / COP shapes.
2//!
3//! Each sub-module wraps a frequently-recurring constraint pattern in
4//! an ergonomic, language-agnostic API. The builders are pure
5//! convenience: every problem they construct can be expressed
6//! directly via [`crate::Csp`] + the underlying constraint and domain
7//! types — they exist so that the same Rust implementation can be
8//! mirrored line-for-line into the Python and WASM bindings without
9//! re-deriving the wiring at every consumer.
10
11pub mod assignment;
12
13pub use assignment::{AssignmentBuilder, AssignmentError, AssignmentSolution, assignment};