refactor: remove uneed imports

This commit is contained in:
2026-08-18 17:32:43 +02:00
parent a0d4e0dee9
commit ea7407e39f
5 changed files with 5 additions and 7 deletions

View File

@@ -10,9 +10,8 @@ use checkers::{
network_identity::NetworkIdentity, network_identity::NetworkIdentity,
}, },
}; };
use log::{debug, error, info, warn}; use log::{error, info, warn};
use tokio::sync::mpsc; use tokio::sync::mpsc;
use uuid::Uuid;
const QUIT_COMMAND: &str = "/quit"; const QUIT_COMMAND: &str = "/quit";
const HELP_COMMAND: &str = "/help"; const HELP_COMMAND: &str = "/help";

View File

@@ -3,7 +3,7 @@ use std::ops::Index;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use uuid::Uuid; 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 /// View of the board, without any methods. Meant for sending over network
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)] #[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]

View File

@@ -1,7 +1,7 @@
use core::fmt; use core::fmt;
use std::ops::Sub; use std::ops::Sub;
use log::{debug, trace}; use log::trace;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use crate::logic::math::vector::Vector2D; use crate::logic::math::vector::Vector2D;

View File

@@ -6,7 +6,6 @@ use uuid::Uuid;
use crate::{ use crate::{
logic::{ logic::{
board::{ board::{
board::Board,
board_view::BoardView, board_view::BoardView,
pawn::{CapturePath, MovePath}, pawn::{CapturePath, MovePath},
}, },

View File

@@ -11,7 +11,7 @@ use uuid::Uuid;
use crate::{ use crate::{
logic::{ logic::{
board::{board_view::BoardView, pawn::CapturePath}, board::pawn::CapturePath,
game_master::{GameMaster, GameResult}, game_master::{GameMaster, GameResult},
math::position::Position, math::position::Position,
}, },
@@ -21,7 +21,7 @@ use crate::{
ClientMessage::{self}, ClientMessage::{self},
Message, ServerMessage, Message, ServerMessage,
}, },
network_identity::{NetworkIdentity, NetworkServerIdentity}, network_identity::NetworkServerIdentity,
}, },
}; };