diff options
| author | mat <git@matdoes.dev> | 2025-02-22 23:01:54 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-02-22 23:01:54 +0000 |
| commit | 34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6 (patch) | |
| tree | 7920fec1203e8e96463a142f5f6da6164e76e684 /azalea-crypto/src | |
| parent | bdd2fc91e11e2896d8e1c7046df247e1075bd40d (diff) | |
| download | azalea-drasl-34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6.tar.xz | |
update to rust edition 2024
Diffstat (limited to 'azalea-crypto/src')
| -rwxr-xr-x | azalea-crypto/src/lib.rs | 4 | ||||
| -rwxr-xr-x | azalea-crypto/src/signing.rs | 2 |
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; |
