chess_compression/
lib.rs

1//! A library for compressing chess moves and positions. The code is straight
2//!  ports of [Java](https://github.com/lichess-org/compression/) and
3//! [Scala](https://lichess.org/@/revoof/blog/adapting-nnue-pytorchs-binary-position-format-for-lichess/cpeeAMeY)
4//! originals made by the Lichess project, with some tweaks to the API. The
5//! code is split into two modules, one for compressing moves and one for
6//! positions.
7
8#[macro_use]
9extern crate lazy_static;
10
11pub mod moves;
12pub mod position;
13#[cfg(test)]
14mod tests;