rustio rustio.net
52

chess

v3.2.0 Growing

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 tabels 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 2018
#generator#move#chess

Quick Verdict

  • โœ•Not updated for 5+ years
  • โœ“Stable API (3.x for 9+ years)
  • โœ“Trusted by 188 crates
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
146.6K
Dependents
188
Releases
36
Size
46KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

4.8K downloads in the last 30 days (159/day), up 28% from the previous period.

๐Ÿ”—
Moderate adoption

188 crates depend on chess. Reasonable ecosystem adoption, though not yet a core dependency.

โœ…
Stable for 9+ years

The API has been stable (1.x) for over 9 years with 36 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include vampirc-uci, chess_perft, offline-chess-puzzles, board-game, bughouse. When high-quality crates choose chess, it's a strong quality signal.

Health Breakdown

Maintenance 6/25

Recency, release consistency, active ratio

Quality 19/25

Yanked ratio, deps, size, maturity, features

Community 9/20

Reverse deps, ownership, ecosystem

Popularity 6/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
128/day avg+53%
010020030012/291/162/32/213/113/28

Top Dependents

Version Adoption

v3.2.0
81%
v3.1.1
11%
v1.0.7
3%
v0.4.2
3%
v2.0.1
3%

Release Timeline

36 releasessince 2016
J
F
M
A
M
J
J
A
S
O
N
D
2016
14
2017
3
2018
13
2019
5
2020
2021
1
2022
2023
2024
2025
2026
Less
More

README

Loading README...

Maintainers

Dependencies
5
direct dependencies
Dependents
188
crates depend on chess

Similar Crates