uciengine

Rust uci engine wrapper.

Usage

```rust use uciengine::uciengine::; use uciengine::uciengine::Position::;

[tokio::main]

async fn main() -> Result<(), Box> { let gojob = GoJob::new()
.uci
opt("UCIVariant".tostring(), "atomic".tostring()) .uciopt("Hash".tostring(), "128".tostring()) .uciopt("Threads".tostring(), "4".tostring()) .pos(FenAndMovesStr{ fen: "k7/8/8/8/8/8/R7/7K w - - 0 1".tostring(), movesstr: "h1h2".tostring() }) .tc(Timecontrol{ wtime: 15000, winc: 0, btime: 15000, binc: 0 }) ;

let mut uciengine = UciEngine::new("./stockfish12".to_string());

let result = uciengine.go(go_job).await?;

println!("result {:?}", result);

Ok(())

} ```

Logging

```bash export RUST_LOG=info

or

export RUST_LOG=debug ```