5 releases (3 breaking)
0.4.0 | Apr 2, 2024 |
---|---|
0.3.1 | Feb 4, 2024 |
0.3.0 | Feb 4, 2024 |
0.2.0 | Jun 15, 2023 |
0.1.0 | Jul 12, 2022 |
#211 in Compression
117 downloads per month
37KB
866 lines
chess-huffman
A Rust crate for Huffman compression of chess games. Builds upon Niklas Fiekas's crates shakmaty
, huffman-compress
and pgn-reader
, and his blog post on the topic and Java implementation.
Refer to the documentation for up-to-date usage examples:
- Encoding a game:
encode_game
,encode_pgn
,MoveByMoveEncoder
- Decoding a game:
decode_game
,MoveByMoveDecoder
Dependencies
~1.5MB
~24K SLoC