aboutsummaryrefslogtreecommitdiff
path: root/azalea-crypto/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-02-22 23:01:54 +0000
committermat <git@matdoes.dev>2025-02-22 23:01:54 +0000
commit34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6 (patch)
tree7920fec1203e8e96463a142f5f6da6164e76e684 /azalea-crypto/src
parentbdd2fc91e11e2896d8e1c7046df247e1075bd40d (diff)
downloadazalea-drasl-34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6.tar.xz
update to rust edition 2024
Diffstat (limited to 'azalea-crypto/src')
-rwxr-xr-xazalea-crypto/src/lib.rs4
-rwxr-xr-xazalea-crypto/src/signing.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/azalea-crypto/src/lib.rs b/azalea-crypto/src/lib.rs
index 90e248a2..b087c426 100755
--- a/azalea-crypto/src/lib.rs
+++ b/azalea-crypto/src/lib.rs
@@ -4,10 +4,10 @@ mod signing;
use aes::cipher::inout::InOutBuf;
use aes::{
- cipher::{BlockDecryptMut, BlockEncryptMut, KeyIvInit},
Aes128,
+ cipher::{BlockDecryptMut, BlockEncryptMut, KeyIvInit},
};
-use rand::{rngs::OsRng, RngCore};
+use rand::{RngCore, rngs::OsRng};
use sha1::{Digest, Sha1};
pub use signing::*;
diff --git a/azalea-crypto/src/signing.rs b/azalea-crypto/src/signing.rs
index ba9cc305..05fa1810 100755
--- a/azalea-crypto/src/signing.rs
+++ b/azalea-crypto/src/signing.rs
@@ -2,8 +2,8 @@ use std::time::{SystemTime, UNIX_EPOCH};
use azalea_buf::{AzBuf, AzaleaWrite};
use rsa::{
- signature::{RandomizedSigner, SignatureEncoding},
RsaPrivateKey,
+ signature::{RandomizedSigner, SignatureEncoding},
};
use sha2::Sha256;
use uuid::Uuid;