online-games: the network part (lookups, probes, downloads into the database, with their tests) moves to net.rs, built where a request may block a thread; ureq is a dependency there only. The names, paths and states of the online databases stay for every target. play: the engines that play (Rodent) or judge (Maia's resignations) run as processes driven from threads: not built for WebAssembly. getrandom has its browser backend there. prep: analyse (the job in engine processes) is native. Nothing changes on the computer or Android; the tests pass as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
597 B
TOML
20 lines
597 B
TOML
[package]
|
|
name = "online-games"
|
|
description = "A player's games from Lichess and Chess.com by nickname, kept as a PGN database that later fetches only the new games (the desktop and Android apps share it)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
publish = false
|
|
|
|
[dependencies]
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
# Requests that block a thread: not in a browser (net.rs).
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
|
ureq = "3.4"
|
|
|
|
[dev-dependencies]
|
|
chess-core.workspace = true
|