Crates.io | chess-huffman |
lib.rs | chess-huffman |
version | 0.4.0 |
source | src |
created_at | 2022-07-12 19:40:01.405059 |
updated_at | 2024-04-02 18:00:46.956871 |
description | Compresses chess games using Huffman coding |
homepage | |
repository | https://github.com/thomas-daniels/rust-chess-huffman |
max_upload_size | |
id | 624630 |
size | 71,566 |
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:
encode_game
, encode_pgn
, MoveByMoveEncoder
decode_game
, MoveByMoveDecoder