Crate sudoku [] [src]

The Sudoku library

Overview

Sudoku is a library that aims to provide a simple API to solve sudokus without having to deal with too much details.

Example

use sudoku::Sudoku;

let sudoku_str =
"___2___63
3____54_1
__1__398_
_______9_
___538___
_3_______
_263__5__
5_37____8
47___1___";

let mut sudoku = Sudoku::from_str(sudoku_str).unwrap();
sudoku.solve();
println!("{}", sudoku);

Structs

Sudoku

The main structure exposing all the functionality of the library

Enums

ParseError

A structure representing an error caused when parsing the sudoku