From d901be53d2ff45173e8be11319fa69740eb1c724 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 24 Jan 2024 09:15:18 -0800 Subject: [PATCH] [explorer] Depends on core --- explorer/Cargo.toml | 1 + explorer/src/main.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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;