trainer keeps its deadline in web_time::Instant (std's panics in a browser; on a computer it is std's). play: the Judge type is on every target, only starting it (an engine process) is native. chess-import: files are closed by the end of their block before a rename instead of drop(), which a browser's File (no destructor) makes a lint there. rustfmt of the earlier changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
525 B
TOML
16 lines
525 B
TOML
[package]
|
|
name = "trainer"
|
|
description = "Learning an opening of ChessPenguin: replaying a game's line from memory, its runs counted (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]
|
|
chess-core.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
web-time.workspace = true
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|