Replace Position's en_passant_target_square() and en_passant_capture_square() with a single en_passant() method that returns a new EnPassant struct that has the target and capture squares for the en passant move.
11 lines
319 B
TOML
11 lines
319 B
TOML
[package]
|
|
name = "chessfriend_position"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
chessfriend_core = { path = "../core" }
|
|
chessfriend_bitboard = { path = "../bitboard" }
|
|
chessfriend_moves = { path = "../moves" }
|