chessbaseLinux/crates/mobile-api/Cargo.toml
vrubelroman 1661e238d8 Android: game report — mistakes, blunders and accuracy, as on the desktop
The game analysis of the desktop (evaluations of the main line, judgements, accuracy,
cache and the engine job) moves into a shared crate, game-review, so both apps give the
same numbers. The desktop uses it unchanged in behaviour.

On Android, ⋮ → «Game analysis» runs Stockfish over the main line in its own process
(the live engine waits): an evaluation graph and a status row between the board and the
notation, marks in the notation, the better line of an error on the board, a report sheet
with both players side by side. Games with [%eval] and games analysed before show their
report at once. The analysis stops with the screen and goes on after it, also after the
phone is turned, and is cached as it goes.

Reviewed by an independent tester and designer (docs/design/android-ui.md §21, §22).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:10:58 +03:00

31 lines
754 B
TOML

[package]
name = "mobile-api"
description = "The ChessPenguin core for the Android app: databases, game lists, games (UniFFI)"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
publish = false
[lib]
crate-type = ["cdylib", "lib"]
name = "mobile_api"
[[bin]]
# Generates the Kotlin bindings from the built library (`cargo run --bin uniffi-bindgen`).
name = "uniffi-bindgen"
path = "src/bin/uniffi-bindgen.rs"
required-features = ["bindgen"]
[features]
bindgen = ["uniffi/cli"]
[dependencies]
chess-core.workspace = true
chess-import.workspace = true
game-review.workspace = true
shakmaty.workspace = true
thiserror.workspace = true
uci.workspace = true
uniffi = "0.32.2"