rustio rustio.net
52

chess_

v3.3.2 Experimental

This is a fast chess move generator. It has a very good set of documentation, so you should take advantage of that. It (now) generates all lookup tables with a build.rs file, which means that very little pseudo-legal move generation requires branching. There are some convenience functions that are exposed to, for example, find all the squares between two squares. This uses a copy-on-make style structure, and the Board structure is as slimmed down as possible to reduce the cost of copying the board. There are places to improve perft-test performance further, but I instead opt to be more feature-complete to make it useful in real applications. For example, I generate both a hash of the board and a pawn-hash of the board for use in evaluation lookup tables (using Zobrist hashing). There are two ways to generate moves, one is faster, the other has more features that will be useful if making a chess engine. See the documentation for more details.

MIT Edition 2024 MSRV 1.88.0
#generator#move#chess

Quick Verdict

  • โœ“Actively maintained (updated 6d ago)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
86
Dependents
7
Releases
3
Size
46KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

68 downloads in the last 30 days (2/day), up 278% from the previous period.

๐Ÿ“
Compact crate

At 45KB, chess_ is lightweight. Small crate size correlates with focused, well-scoped functionality.

Health Breakdown

Maintenance 14/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 5/20

Reverse deps, ownership, ecosystem

Popularity 2/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
0/day avg
08/239/109/2810/1611/311/20

Top Dependents

Most downloaded crates that depend on chess_

Version Adoption

v3.3.0
62%
v3.3.2
24%
v3.3.1
14%

Release Timeline

3 releasessince 2026
J
F
M
A
M
J
J
A
S
O
N
D
2026
3
Less
More

README

Loading README...

Maintainers

Dependencies
5
direct dependencies
Dependents
7
crates depend on chess_

Similar Crates