Fix some imports in the moves package

Castle and EnPassant moved to the board package. Reference these types there.
Add the board packages as a dependency to the moves package.
This commit is contained in:
Eryn Wells 2024-04-26 09:50:42 -04:00
parent 1d82d27f84
commit b3c472fbce
7 changed files with 8 additions and 62 deletions

View file

@ -1,6 +1,7 @@
// Eryn Wells <eryn@erynwells.me>
use crate::{castle, defs::Kind, EnPassant, Move, PromotionShape};
use crate::{defs::Kind, Move, PromotionShape};
use chessfriend_board::{castle, en_passant::EnPassant};
use chessfriend_core::{Color, File, PlacedPiece, Rank, Square};
use std::result::Result as StdResult;