diff --git a/Cargo.toml b/Cargo.toml index 8023cb2..ca03147 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ approx = "0.5.1" arrayvec = "0.7.2" async-trait = "0.1.57" base64 = "0.13.0" -bitfield-struct = "0.1.7" +bitfield-struct = "0.1.8" bytes = "1.2.1" flume = "0.10.14" futures = "0.3.24" diff --git a/valence_protocol/src/types.rs b/valence_protocol/src/types.rs index 6d4e2c2..46530f3 100644 --- a/valence_protocol/src/types.rs +++ b/valence_protocol/src/types.rs @@ -215,7 +215,7 @@ pub enum BossBarDivision { } #[bitfield(u8)] -#[derive(PartialEq, Eq, Debug, Encode, Decode)] +#[derive(PartialEq, Eq, Encode, Decode)] pub struct BossBarFlags { pub darken_sky: bool, pub dragon_bar: bool, @@ -311,7 +311,7 @@ pub struct PlayerInfoAddPlayer<'a> { } #[bitfield(u8)] -#[derive(PartialEq, Eq, Debug, Encode, Decode)] +#[derive(PartialEq, Eq, Encode, Decode)] pub struct DisplayedSkinParts { pub cape: bool, pub jacket: bool, @@ -324,7 +324,7 @@ pub struct DisplayedSkinParts { } #[bitfield(u8)] -#[derive(PartialEq, Eq, Debug, Encode, Decode)] +#[derive(PartialEq, Eq, Encode, Decode)] pub struct PlayerInputFlags { pub jump: bool, pub unmount: bool, @@ -333,7 +333,7 @@ pub struct PlayerInputFlags { } #[bitfield(u8)] -#[derive(PartialEq, Eq, Debug, Encode, Decode)] +#[derive(PartialEq, Eq, Encode, Decode)] pub struct CommandBlockFlags { pub track_output: bool, pub conditional: bool, @@ -343,7 +343,7 @@ pub struct CommandBlockFlags { } #[bitfield(u8)] -#[derive(PartialEq, Eq, Debug, Encode, Decode)] +#[derive(PartialEq, Eq, Encode, Decode)] pub struct StructureBlockFlags { pub ignore_entities: bool, pub show_air: bool, @@ -353,7 +353,7 @@ pub struct StructureBlockFlags { } #[bitfield(u8)] -#[derive(PartialEq, Eq, Debug, Encode, Decode)] +#[derive(PartialEq, Eq, Encode, Decode)] pub struct SyncPlayerPosLookFlags { pub x: bool, pub y: bool,