#moves #chess

chess_compression

A chess compression library

4 releases (breaking)

0.4.0 Feb 1, 2025
0.3.0 Jan 31, 2025
0.2.0 Aug 8, 2024
0.1.0 Feb 7, 2022

#324 in Compression

Download history 239/week @ 2025-01-29 30/week @ 2025-02-05 10/week @ 2025-02-26 1/week @ 2025-03-12

301 downloads per month

AGPL-3.0-or-later

74KB
1K SLoC

A library for compressing chess moves and positions. The code is straight ports of Java and Scala originals made by the Lichess project, with some tweaks to the API. The code is split into two modules, one for compressing moves and one for positions.


A chess compression library

This crate is a straight port of the Lichess move compression code from Java to Rust, but with a slightly different API. The Rust code passes the same test corpus as the Java code, so it should be compatible with compressed data from that library, but this hasn't been explored beyond passing the test corpus.

Dependencies

~1.5MB
~26K SLoC