- Paste: «Add a database» offers the clipboard's games when it holds text; they are kept in the app as a copy (one game opens on the board). Text with no game is said so. - Open with / Share: PGN, ZIP, 7z, .cbv from other apps are copied in, listed and opened; one copy at a time, the last one shown; not again from Recents; a lone .cbh says to add its folder. A copy is marked «copy» and removing it deletes it. - Engine: the button turns it off again; its words reach the screen up to 5 times a second and redraw only the strip and the arrows; Stockfish runs at nice 10 (uci EngineConfig::nice) with 2 threads by default. - PGN scan: tags right after a result on the same line start the next game. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
540 B
TOML
21 lines
540 B
TOML
[package]
|
|
name = "uci"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
description = "UCI chess engine process supervisor (no UI dependencies)"
|
|
|
|
[dependencies]
|
|
thiserror.workspace = true
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
# nice(2) for EngineConfig::nice (std has no way to lower a child's priority).
|
|
libc = "0.2"
|
|
|
|
# Test helper: deterministic fake UCI engine used by tests/ via CARGO_BIN_EXE_fake_uci.
|
|
[[bin]]
|
|
name = "fake_uci"
|
|
path = "src/bin/fake_uci.rs"
|
|
test = false
|
|
doc = false
|