mirror of
https://github.com/szymon-jozef/checkers.git
synced 2026-10-27 19:20:44 +01:00
refactor: remove uneed imports
This commit is contained in:
@@ -10,9 +10,8 @@ use checkers::{
|
||||
network_identity::NetworkIdentity,
|
||||
},
|
||||
};
|
||||
use log::{debug, error, info, warn};
|
||||
use log::{error, info, warn};
|
||||
use tokio::sync::mpsc;
|
||||
use uuid::Uuid;
|
||||
|
||||
const QUIT_COMMAND: &str = "/quit";
|
||||
const HELP_COMMAND: &str = "/help";
|
||||
|
||||
@@ -3,7 +3,7 @@ use std::ops::Index;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
|
||||
use crate::logic::board::{board::Board, field::Field, pawn::Pawn};
|
||||
use crate::logic::board::{board::Board, field::Field};
|
||||
|
||||
/// View of the board, without any methods. Meant for sending over network
|
||||
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use core::fmt;
|
||||
use std::ops::Sub;
|
||||
|
||||
use log::{debug, trace};
|
||||
use log::trace;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::logic::math::vector::Vector2D;
|
||||
|
||||
@@ -6,7 +6,6 @@ use uuid::Uuid;
|
||||
use crate::{
|
||||
logic::{
|
||||
board::{
|
||||
board::Board,
|
||||
board_view::BoardView,
|
||||
pawn::{CapturePath, MovePath},
|
||||
},
|
||||
|
||||
@@ -11,7 +11,7 @@ use uuid::Uuid;
|
||||
|
||||
use crate::{
|
||||
logic::{
|
||||
board::{board_view::BoardView, pawn::CapturePath},
|
||||
board::pawn::CapturePath,
|
||||
game_master::{GameMaster, GameResult},
|
||||
math::position::Position,
|
||||
},
|
||||
@@ -21,7 +21,7 @@ use crate::{
|
||||
ClientMessage::{self},
|
||||
Message, ServerMessage,
|
||||
},
|
||||
network_identity::{NetworkIdentity, NetworkServerIdentity},
|
||||
network_identity::NetworkServerIdentity,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user