rustio rustio.net
45

candidate

v0.0.5 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 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 2021
#generator#move#chess

Quick Verdict

  • โœ•Not updated for 3+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
6.8K
Dependents
0
Releases
5
Size
53KB

Deep Insights

๐Ÿ“Š
Download activity

12 downloads in the last 30 days (0/day avg).

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 3+ years old, candidate hasn't reached 1.0 yet. Expect potential API changes between versions.

Health Breakdown

Maintenance 8/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 3/20

Reverse deps, ownership, ecosystem

Popularity 5/15

Downloads, momentum, growth trend

Documentation 13/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
0/day avg-77%
024612/291/162/32/213/113/28

Version Adoption

v0.0.5
26%
v0.0.4
19%
v0.0.3
18%
v0.0.2
18%
v0.0.1
18%

Release Timeline

5 releasessince 2022
J
F
M
A
M
J
J
A
S
O
N
D
2022
5
2023
2024
2025
2026
Less
More

Feature Flags

default =["cache_game_state"]

instrument_gamecache_game_state*

README

Loading README...

Maintainers

Dependencies
7
direct dependencies
Dependents
0
crates depend on candidate

Similar Crates