From 76ac7194180b041d9fc01d9a55ab677f4c467732 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 28 Jan 2024 09:40:45 -0800 Subject: [PATCH] =?UTF-8?q?[position]=20Rename=20the=20board=20crate=20?= =?UTF-8?q?=E2=86=92=20chessfriend=5Fposition=20in=20Cargo.toml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename the crate, but don't move any files. --- board/Cargo.toml | 2 +- explorer/Cargo.toml | 2 +- explorer/src/main.rs | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/board/Cargo.toml b/board/Cargo.toml index 70584c2..db11c0d 100644 --- a/board/Cargo.toml +++ b/board/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "board" +name = "chessfriend_position" version = "0.1.0" edition = "2021" diff --git a/explorer/Cargo.toml b/explorer/Cargo.toml index 3f2513b..3281cf4 100644 --- a/explorer/Cargo.toml +++ b/explorer/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] chessfriend_core = { path = "../core" } -board = { path = "../board" } +chessfriend_position = { path = "../position" } clap = { version = "4.4.12", features = ["derive"] } rustyline = "13.0.0" shlex = "1.2.0" diff --git a/explorer/src/main.rs b/explorer/src/main.rs index fedd11c..9bf7000 100644 --- a/explorer/src/main.rs +++ b/explorer/src/main.rs @@ -1,6 +1,5 @@ -use board::piece::{Color, Piece, Shape}; -use board::Position; use chessfriend_core::Square; +use chessfriend_position::{fen::ToFen, MakeMoveBuilder, MoveBuilder, Position, PositionBuilder}; use clap::{Arg, Command}; use rustyline::error::ReadlineError; use rustyline::DefaultEditor;