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

Download history 22/week @ 2024-02-19 16/week @ 2024-02-26 117/week @ 2024-04-01

117 downloads per month

GPL-3.0+

37KB
866 lines

crates.io docs.rs

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