diff options
| author | mat <git@matdoes.dev> | 2025-12-09 03:37:22 +0100 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-09 03:37:22 +0100 |
| commit | 676707aab320339b4c7406ee4f494b530f44e926 (patch) | |
| tree | 52ae7e2462351beb11984c3e8a8c4dd5ce62de76 /azalea-protocol | |
| parent | ba3a88336a074f902667d3e13471af62b431da04 (diff) | |
| download | azalea-drasl-676707aab320339b4c7406ee4f494b530f44e926.tar.xz | |
make signing module optional in azalea-crypto
Diffstat (limited to 'azalea-protocol')
| -rw-r--r-- | azalea-protocol/Cargo.toml | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/c_player_chat.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/s_chat.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/s_chat_command_signed.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/azalea-protocol/Cargo.toml b/azalea-protocol/Cargo.toml index 4128faae..42507901 100644 --- a/azalea-protocol/Cargo.toml +++ b/azalea-protocol/Cargo.toml @@ -18,7 +18,7 @@ azalea-brigadier = { workspace = true, features = ["azalea-buf"] } azalea-buf.workspace = true azalea-chat = { workspace = true, features = ["numbers", "azalea-buf"] } azalea-core = { workspace = true, optional = true } -azalea-crypto.workspace = true +azalea-crypto = { workspace = true, features = ["signing"] } azalea-entity.workspace = true azalea-inventory.workspace = true azalea-protocol-macros.workspace = true 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; |
