The handshake and the session after it move to uci::protocol: lines, commands and the time go in, lines to write and events come out, deadlines are named instead of waited for. The child process with its reader and supervisor threads is now one transport of it (process.rs, not built for WebAssembly). Behaviour on the computer and Android is unchanged; the fake engine tests pass as before, and the machine has its own tests. chess-import: the parallel passes (booster, position search, opening tallies) go through parallel::map, which runs a single worker on the calling thread; on WebAssembly there is one worker (std threads panic there). read_at and write_all_at have a portable form through the file cursor for targets other than Unix and Windows. The bench command is not built for WebAssembly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
566 B
TOML
22 lines
566 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
|
|
web-time.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
|