diff --git a/explorer/Cargo.toml b/explorer/Cargo.toml index 5d49281..3f2513b 100644 --- a/explorer/Cargo.toml +++ b/explorer/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +chessfriend_core = { path = "../core" } board = { path = "../board" } clap = { version = "4.4.12", features = ["derive"] } rustyline = "13.0.0" diff --git a/explorer/src/main.rs b/explorer/src/main.rs index 9da6a64..e8fca2f 100644 --- a/explorer/src/main.rs +++ b/explorer/src/main.rs @@ -1,5 +1,6 @@ use board::piece::{Color, Piece, Shape}; -use board::{Position, Square}; +use board::Position; +use chessfriend_core::Square; use clap::{Arg, Command}; use rustyline::error::ReadlineError; use rustyline::DefaultEditor;