chess-import opens a database from its content (PGN, zip, 7z, cbv) and a ChessBase database from the contents of its files: Android hands over file descriptors, not paths. The text of comments as shown moves to chess-core (comment_display_text), so the phone and the desktop show the same. crates/mobile-api: a thin UniFFI bridge — open a database from a descriptor, a ChessBase folder's files, or a path (tests); game rows a page at a time; a game as a tree of moves with positions, last-move squares, NAGs and comments. It builds for arm64-v8a and x86_64 with cargo-ndk (NDK r30, API 31) and its Kotlin bindings generate with `cargo run -p mobile-api --features bindgen --bin uniffi-bindgen`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
40 lines
1.2 KiB
TOML
40 lines
1.2 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = [
|
|
"crates/chess-core",
|
|
"crates/chess-import",
|
|
"crates/uci",
|
|
"crates/mobile-api",
|
|
"apps/desktop",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.9.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" }
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|