7 releases (breaking)

0.6.0 Oct 12, 2024
0.5.0 Oct 11, 2024
0.4.0 Apr 2, 2024
0.3.1 Feb 4, 2024
0.1.0 Jul 12, 2022

#178 in Compression

Download history 42/week @ 2024-07-29 17/week @ 2024-09-23 293/week @ 2024-10-07 69/week @ 2024-10-14 17/week @ 2024-11-04

116 downloads per month

GPL-3.0+

38KB
885 lines

crates.io docs.rs

chess-huffman

A Rust crate for Huffman compression of chess games. Builds upon huffman-compress2, 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:

  • Encoding a game: encode_game, encode_pgn, MoveByMoveEncoder
  • Decoding a game: decode_game, MoveByMoveDecoder

Dependencies

~1.5MB
~23K SLoC