chessbaseLinux/crates/mobile-api/Cargo.toml
vrubelroman 7f23bca320
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Android: the app updates itself; one release check for the desktop and the phone
- crates/releases: the latest release on GitHub, its files and SHA-256 sums, shared by
  the desktop updater and the phone (desktop update.rs keeps its installers).
- mobile-api check_release: a newer release with its APKs and sums; a desktop-only
  release is no update, one without the light APK's sum cannot be checked.
- Android (android-ui.md §25): a check at start and on return once a day (switch and
  «Check now» in About), a card over the databases, a sheet through the install
  permission, the download (DownloadManager), the SHA-256, the full build keeping its
  engine network, and PackageInstaller; the state survives restarts, the update's
  snackbar waits for a screen. Network state permission for both builds (the full one
  crashed without it). Debug builds may ask a test server (CP_UPDATE_API).
- Release notes on GitHub come from this version's CHANGELOG section.

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

33 lines
810 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
online-games.workspace = true
releases.workspace = true
shakmaty.workspace = true
thiserror.workspace = true
uci.workspace = true
uniffi = "0.32.2"