Reordered Imports

This commit is contained in:
DaniD3v 2024-08-31 17:38:49 +02:00
parent bb543b7178
commit 6740e717f7

View File

@ -1,7 +1,6 @@
use log::warn; use log::warn;
use proxy::ProxyConfig;
use resource_pack::ResourcePackConfig;
use serde::{de::DeserializeOwned, Deserialize, Serialize}; use serde::{de::DeserializeOwned, Deserialize, Serialize};
use std::{ use std::{
fs, fs,
net::{Ipv4Addr, SocketAddr}, net::{Ipv4Addr, SocketAddr},
@ -15,17 +14,20 @@ pub mod auth;
pub mod proxy; pub mod proxy;
pub mod resource_pack; pub mod resource_pack;
mod commands;
mod compression;
mod pvp;
mod rcon;
pub use auth::AuthenticationConfig; pub use auth::AuthenticationConfig;
pub use commands::CommandsConfig; pub use commands::CommandsConfig;
pub use compression::CompressionConfig; pub use compression::CompressionConfig;
pub use pvp::PVPConfig; pub use pvp::PVPConfig;
pub use rcon::RCONConfig; pub use rcon::RCONConfig;
mod commands;
mod compression;
mod pvp;
mod rcon;
use proxy::ProxyConfig;
use resource_pack::ResourcePackConfig;
/// Current Config version of the Base Config /// Current Config version of the Base Config
const CURRENT_BASE_VERSION: &str = "1.0.0"; const CURRENT_BASE_VERSION: &str = "1.0.0";