rustoku_lib/lib.rs
1//! A Sudoku library implemented in Rust with efficient bitmasking for constraint tracking.
2//!
3//! This library provides a `Rustoku` struct that can solve and check 9x9 Sudoku puzzles.
4//! The implementation uses bitmasks to efficiently track constraints for
5//! rows, columns, and 3x3 boxes, enabling fast validation and candidate computation
6//! during the solving process.
7//!
8//! The library also provides a `generate_board` utility to generate puzzles. The
9//! output includes the matrix-like representation of the board as well as the
10//! one-line representation for easy copying and pasting.
11
12pub mod core;
13mod error;
14mod format;
15
16pub use core::{Rustoku, generate_board};
17pub use error::RustokuError;