diff options
| author | mat <git@matdoes.dev> | 2025-12-15 11:14:40 +0930 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-15 11:14:40 +0930 |
| commit | dcbd690f21665e22ea250024a1aa85dec34e6c9e (patch) | |
| tree | 411c76eb92ca1cfe284e56f47bc0abd4079a3364 /azalea-crypto/src | |
| parent | b0a2a809331b0f781517649857d31e0aec67d300 (diff) | |
| download | azalea-drasl-dcbd690f21665e22ea250024a1aa85dec34e6c9e.tar.xz | |
sort derives with cargo sort-derives
might add to ci later, unsure how to do it without adding significant friction for contributors though
Diffstat (limited to 'azalea-crypto/src')
| -rw-r--r-- | azalea-crypto/src/signing.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-crypto/src/signing.rs b/azalea-crypto/src/signing.rs index 8d21a2f2..57d5e1ad 100644 --- a/azalea-crypto/src/signing.rs +++ b/azalea-crypto/src/signing.rs @@ -8,18 +8,18 @@ use rsa::{ use sha2::Sha256; use uuid::Uuid; -#[derive(Debug, Clone, AzBuf)] +#[derive(AzBuf, Clone, Debug)] pub struct SaltSignaturePair { pub salt: u64, pub signature: Vec<u8>, } -#[derive(Clone, Debug, PartialEq, AzBuf)] +#[derive(AzBuf, Clone, Debug, PartialEq)] pub struct MessageSignature { pub bytes: [u8; 256], } -#[derive(Clone, Debug, AzBuf, PartialEq)] +#[derive(AzBuf, Clone, Debug, PartialEq)] pub struct SignedMessageHeader { pub previous_signature: Option<MessageSignature>, pub sender: Uuid, |
