| Crates.io | chess-huffman |
| lib.rs | chess-huffman |
| version | 0.11.0 |
| created_at | 2022-07-12 19:40:01.405059+00 |
| updated_at | 2025-07-26 11:16:06.944686+00 |
| description | Compresses chess games using Huffman coding |
| homepage | |
| repository | https://github.com/thomas-daniels/rust-chess-huffman |
| max_upload_size | |
| id | 624630 |
| size | 97,569 |
Breaking change: games encoded with version >=0.7 cannot be decoded with version <0.7 and vice versa.
A Rust crate for Huffman compression of chess games. Builds upon Piotr Beling's bsuccinct, Niklas Fiekas's crates shakmaty and pgn-reader, and his blog post on the topic and Java implementation.
Refer to the documentation for up-to-date usage examples:
encode_game, encode_pgn, MoveByMoveEncoderdecode_game, MoveByMoveDecoder