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

#243 in Compression

Download history 7/week @ 2024-11-03 6/week @ 2024-12-08 1/week @ 2024-12-15 160/week @ 2025-01-26 109/week @ 2025-02-02

269 downloads per month

AGPL-3.0-or-later

74KB
1K SLoC

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.


lib.rs:

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.

Dependencies

~1.5MB
~26K SLoC