rustoku-lib 0.14.0

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

pub mod core;
mod error;
mod format;

pub use core::{Rustoku, RustokuBuilder, Solutions, generate_board};
pub use error::RustokuError;