diff --git a/pumpkin-config/src/commands.rs b/pumpkin-config/src/commands.rs index 908ad5c2..b651a522 100644 --- a/pumpkin-config/src/commands.rs +++ b/pumpkin-config/src/commands.rs @@ -1,6 +1,6 @@ +use pumpkin_core::PermissionLvl; #[cfg(feature = "schemars")] use schemars::JsonSchema; -use pumpkin_core::PermissionLvl; use serde::{Deserialize, Serialize}; #[derive(Deserialize, Serialize)] diff --git a/pumpkin-core/src/lib.rs b/pumpkin-core/src/lib.rs index 021ba90a..0824dcb5 100644 --- a/pumpkin-core/src/lib.rs +++ b/pumpkin-core/src/lib.rs @@ -5,9 +5,9 @@ pub mod random; pub mod text; pub use gamemode::GameMode; +pub use permission::PermissionLvl; #[cfg(feature = "schemars")] pub use schemars::JsonSchema; -pub use permission::PermissionLvl; use serde::{Deserialize, Serialize}; diff --git a/pumpkin-core/src/permission.rs b/pumpkin-core/src/permission.rs index 6fd198df..81d15138 100644 --- a/pumpkin-core/src/permission.rs +++ b/pumpkin-core/src/permission.rs @@ -1,6 +1,6 @@ +use num_derive::{FromPrimitive, ToPrimitive}; #[cfg(feature = "schemars")] use schemars::JsonSchema; -use num_derive::{FromPrimitive, ToPrimitive}; use serde::{Deserialize, Deserializer, Serialize, Serializer}; /// Represents the player's permission level