Cargo fmt

This commit is contained in:
lukas0008 2024-08-21 16:16:37 +02:00
parent 8eb894ef13
commit e6f0e126ca
9 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;
use crate::uuid::UUID;

View File

@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;
use crate::VarInt;

View File

@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;
use crate::VarInt;

View File

@ -1,7 +1,7 @@
use num_derive::{FromPrimitive, ToPrimitive};
use num_traits::FromPrimitive;
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;
use crate::{bytebuf::ByteBuffer, uuid::UUID, BitSet, ClientPacket, VarInt};

View File

@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;
#[derive(Serialize)]

View File

@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;
#[derive(Serialize)]

View File

@ -1,4 +1,5 @@
use num_traits::FromPrimitive;
use pumpkin_core::text::TextComponent;
use pumpkin_protocol::{
client::{
config::{CConfigAddResourcePack, CFinishConfig, CKnownPacks, CRegistryData},
@ -13,7 +14,6 @@ use pumpkin_protocol::{
},
ConnectionState, KnownPack, CURRENT_MC_PROTOCOL,
};
use pumpkin_core::text::TextComponent;
use rsa::Pkcs1v15Encrypt;
use sha1::{Digest, Sha1};

View File

@ -13,6 +13,7 @@ use crate::{
use authentication::GameProfile;
use mio::{event::Event, net::TcpStream, Token};
use num_traits::ToPrimitive;
use pumpkin_core::text::TextComponent;
use pumpkin_protocol::{
bytebuf::packet_id::Packet,
client::{
@ -36,7 +37,6 @@ use pumpkin_protocol::{
},
ClientPacket, ConnectionState, PacketError, RawPacket, ServerPacket,
};
use pumpkin_core::text::TextComponent;
use std::io::Read;
use thiserror::Error;

View File

@ -7,6 +7,7 @@ use crate::{
util::math::wrap_degrees,
};
use num_traits::FromPrimitive;
use pumpkin_core::text::TextComponent;
use pumpkin_entity::EntityId;
use pumpkin_protocol::{
client::play::{
@ -22,7 +23,6 @@ use pumpkin_protocol::{
SUseItemOn, Status,
},
};
use pumpkin_core::text::TextComponent;
use pumpkin_world::block::BlockFace;
use pumpkin_world::global_registry;