Rename Castles::discard_side() to discard_color() and
Castles::has_side() to has_color().
Add Bitboard::without_first().
Add Bitboard::shift().
Add {Fen,Epd}::from_setup() and {Fen,Epd}::as_setup().
Implement Clone for PositionError if possible.
v0.21.0
Refactor Setup: It is now a struct instead of a trait.
Introduce EnPassantMode argument for Position::ep_square().
Refactor fen module: It is now based on Fen and Epd wrappers for
Setup that implement Display and FromStr. More clearly describe
the parser. Remove non-standard formatting options.
Tweak ByColor and make it iterable.
Introduce ByRole.
Implement IntoIterator for Board, replacing Board::pieces().
Remove Material and MaterialSide. Use ByColor<ByRole<u8>> instead.
Ensure RemainingChecks value is between 0 and 3.
Fix integer overflow for invalid FEN that has too many ranks.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps shakmaty from 0.20.7 to 0.21.1.
Changelog
Sourced from shakmaty's changelog.
Commits
3ac8211
prepare 0.21.15d492d8
impl Clone for PositionError90ffc94
remove noisy bench_parse_san_move_complicatedce7c32d
add kiwipete benchmark03f76cb
rename Castles::has_side() to has_color()9af5c84
rename Castles::discard_side() to discard_color()7b8b4a8
avoid discard_rook dependence on maska85fed5
optimize Castles::discard_rook37899dc
use ByColor in Castles internals528264e
more than 3 remaining checks no longer possibleDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)