From 676707aab320339b4c7406ee4f494b530f44e926 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 9 Dec 2025 03:37:22 +0100 Subject: make signing module optional in azalea-crypto --- azalea-protocol/src/packets/game/c_player_chat.rs | 2 +- azalea-protocol/src/packets/game/s_chat.rs | 2 +- azalea-protocol/src/packets/game/s_chat_command_signed.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea-protocol/src') diff --git a/azalea-protocol/src/packets/game/c_player_chat.rs b/azalea-protocol/src/packets/game/c_player_chat.rs index 75683c21..f3201e3f 100644 --- a/azalea-protocol/src/packets/game/c_player_chat.rs +++ b/azalea-protocol/src/packets/game/c_player_chat.rs @@ -6,7 +6,7 @@ use azalea_chat::{ translatable_component::{PrimitiveOrComponent, TranslatableComponent}, }; use azalea_core::bitset::BitSet; -use azalea_crypto::MessageSignature; +use azalea_crypto::signing::MessageSignature; use azalea_protocol_macros::ClientboundGamePacket; use azalea_registry::Holder; use simdnbt::owned::NbtCompound; diff --git a/azalea-protocol/src/packets/game/s_chat.rs b/azalea-protocol/src/packets/game/s_chat.rs index 3abe7da9..3b881181 100644 --- a/azalea-protocol/src/packets/game/s_chat.rs +++ b/azalea-protocol/src/packets/game/s_chat.rs @@ -1,6 +1,6 @@ use azalea_buf::AzBuf; use azalea_core::bitset::FixedBitSet; -use azalea_crypto::MessageSignature; +use azalea_crypto::signing::MessageSignature; use azalea_protocol_macros::ServerboundGamePacket; #[derive(Clone, Debug, AzBuf, PartialEq, ServerboundGamePacket)] diff --git a/azalea-protocol/src/packets/game/s_chat_command_signed.rs b/azalea-protocol/src/packets/game/s_chat_command_signed.rs index 38a9b9f4..f45f92c8 100644 --- a/azalea-protocol/src/packets/game/s_chat_command_signed.rs +++ b/azalea-protocol/src/packets/game/s_chat_command_signed.rs @@ -1,5 +1,5 @@ use azalea_buf::AzBuf; -use azalea_crypto::MessageSignature; +use azalea_crypto::signing::MessageSignature; use azalea_protocol_macros::ServerboundGamePacket; use super::s_chat::LastSeenMessagesUpdate; -- cgit v1.2.3