- 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>
46 lines
1.4 KiB
TOML
46 lines
1.4 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = [
|
|
"crates/chess-core",
|
|
"crates/chess-import",
|
|
"crates/uci",
|
|
"crates/game-review",
|
|
"crates/online-games",
|
|
"crates/releases",
|
|
"crates/mobile-api",
|
|
"apps/desktop",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.14.0"
|
|
edition = "2024"
|
|
rust-version = "1.97"
|
|
license = "GPL-3.0-or-later"
|
|
authors = ["vrubelroman <vrubelroman@gmail.com>"]
|
|
repository = "https://github.com/vrubelroman/chessPenguin"
|
|
homepage = "https://github.com/vrubelroman/chessPenguin"
|
|
|
|
[workspace.dependencies]
|
|
shakmaty = "0.30.2"
|
|
pgn-reader = "0.29.1"
|
|
encoding_rs = "0.8"
|
|
thiserror = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
egui = "=0.36.2"
|
|
eframe = { version = "=0.36.2", default-features = false, features = ["wgpu", "wayland", "x11", "accesskit", "default_fonts", "links"] }
|
|
egui_extras = { version = "=0.36.2", features = ["svg", "image"] }
|
|
image = { version = "0.25", default-features = false, features = ["jpeg", "png"] }
|
|
rfd = "0.17"
|
|
arboard = { version = "3.6", features = ["wayland-data-control"] }
|
|
rodio = "0.22"
|
|
directories = "6"
|
|
chess-core = { path = "crates/chess-core" }
|
|
chess-import = { path = "crates/chess-import" }
|
|
uci = { path = "crates/uci" }
|
|
game-review = { path = "crates/game-review" }
|
|
online-games = { path = "crates/online-games" }
|
|
releases = { path = "crates/releases" }
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|