[core] Rename (once again) chess_core → chessfriend_core
This commit is contained in:
parent
625bfb2446
commit
b0b22048a8
21 changed files with 30 additions and 30 deletions
|
@ -6,4 +6,4 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
core = { path = "../core" }
|
||||
chessfriend_core = { path = "../core" }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::library::{library, FILES, RANKS};
|
||||
use crate::LeadingBitScanner;
|
||||
use chess_core::{Direction, Square};
|
||||
use chessfriend_core::{Direction, Square};
|
||||
use std::fmt;
|
||||
use std::ops::Not;
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ pub(crate) use bitboard::{BitBoard, BitBoardBuilder};
|
|||
macro_rules! bitboard {
|
||||
($($sq:ident),* $(,)?) => {
|
||||
$crate::bitboard::BitBoardBuilder::empty()
|
||||
$(.square(chess_core::Square::$sq))*
|
||||
$(.square(chessfriend_core::Square::$sq))*
|
||||
.build()
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
use super::BitBoard;
|
||||
use chess_core::{Direction, Square};
|
||||
use chessfriend_core::{Direction, Square};
|
||||
use std::sync::Once;
|
||||
|
||||
pub(super) const RANKS: [BitBoard; 8] = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue