2026-10-18 01:54:06 +03:00
|
|
|
[workspace]
|
|
|
|
|
resolver = "3"
|
Open ChessBase databases (.cbh, .cbv) and zip/7z archives
New crate chess-import converts non-PGN sources to PGN in memory and returns
a PgnDatabase, so the library, notation and analysis work unchanged:
- .cbv archives (container rewritten after uncbv), .cbh with companion files
(layout after the public Morphy format description): games, variations,
comments with per-database code page detection, NAGs, squares/arrows, set-up
positions, time spent, book chapters (guiding texts) as move-less records;
- ChessBase figurines become piece letters, diagram/object markers handled,
Western names in Cyrillic databases read correctly;
- .zip/.7z with PGN (own encoding each), .cbh and .cbv; duplicates skipped;
- .cbz/encrypted archives and 2CBH rejected with clear messages.
Library: '+ Add database', format shown, import notes; comments keep
paragraph breaks. Tests on the user's sample books (skipped when absent).
Also: AUR PKGBUILD for 0.2.0 with the bundled Stockfish.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 13:18:27 +03:00
|
|
|
members = ["crates/chess-core", "crates/chess-import", "crates/uci", "apps/desktop"]
|
2026-10-18 01:54:06 +03:00
|
|
|
|
|
|
|
|
[workspace.package]
|
2026-10-18 12:10:40 +03:00
|
|
|
version = "0.2.0"
|
2026-10-18 01:54:06 +03:00
|
|
|
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"] }
|
|
|
|
|
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" }
|
Open ChessBase databases (.cbh, .cbv) and zip/7z archives
New crate chess-import converts non-PGN sources to PGN in memory and returns
a PgnDatabase, so the library, notation and analysis work unchanged:
- .cbv archives (container rewritten after uncbv), .cbh with companion files
(layout after the public Morphy format description): games, variations,
comments with per-database code page detection, NAGs, squares/arrows, set-up
positions, time spent, book chapters (guiding texts) as move-less records;
- ChessBase figurines become piece letters, diagram/object markers handled,
Western names in Cyrillic databases read correctly;
- .zip/.7z with PGN (own encoding each), .cbh and .cbv; duplicates skipped;
- .cbz/encrypted archives and 2CBH rejected with clear messages.
Library: '+ Add database', format shown, import notes; comments keep
paragraph breaks. Tests on the user's sample books (skipped when absent).
Also: AUR PKGBUILD for 0.2.0 with the bundled Stockfish.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 13:18:27 +03:00
|
|
|
chess-import = { path = "crates/chess-import" }
|
2026-10-18 01:54:06 +03:00
|
|
|
uci = { path = "crates/uci" }
|
|
|
|
|
|
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
|
opt-level = 2
|