[core] Rename (once again) chess_core → chessfriend_core

This commit is contained in:
Eryn Wells 2024-01-24 08:48:19 -08:00
parent 625bfb2446
commit b0b22048a8
21 changed files with 30 additions and 30 deletions

View file

@ -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" }

View file

@ -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;

View file

@ -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()
};
}

View file

@ -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] = [