1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

update deps

This commit is contained in:
mat 2025-06-15 10:09:47 -10:30
parent 1a983beec1
commit a06b79a6c1
6 changed files with 455 additions and 418 deletions

829
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -33,19 +33,19 @@ aes = "0.8.4"
anyhow = "1.0.98"
async-recursion = "1.1.1"
base64 = "0.22.1"
bevy_app = "0.16.0"
bevy_ecs = { version = "0.16.0", default-features = false }
bevy_log = "0.16.0"
bevy_tasks = "0.16.0"
bevy_time = "0.16.0"
bevy_app = "0.16.1"
bevy_ecs = { version = "0.16.1", default-features = false }
bevy_log = "0.16.1"
bevy_tasks = "0.16.1"
bevy_time = "0.16.1"
byteorder = "1.5.0"
cfb8 = "0.8.1"
chrono = { version = "0.4.40", default-features = false }
criterion = "0.5.1"
chrono = { version = "0.4.41", default-features = false }
criterion = "0.6.0"
derive_more = "2.0.1"
enum-as-inner = "0.6.1"
env_logger = "0.11.8"
flate2 = { version = "1.1.1", features = ["zlib-rs"] }
flate2 = { version = "1.1.2", features = ["zlib-rs"] }
futures = "0.3.31"
futures-lite = "2.6.0"
md-5 = "0.10.6"
@ -53,29 +53,29 @@ minecraft_folder_path = "0.1.2"
nohash-hasher = "0.2.0"
num-bigint = "0.4.6"
num-traits = "0.2.19"
parking_lot = "0.12.3"
parking_lot = "0.12.4"
proc-macro2 = "1.0.95"
quote = "1.0.40"
rand = "0.8.4"
rand = "0.9.1"
regex = "1.11.1"
reqwest = { version = "0.12.15", default-features = false }
rsa = "0.9.8"
reqwest = { version = "0.12.20", default-features = false }
rsa = "0.10.0-rc.0"
rsa_public_encrypt_pkcs1 = "0.4.0"
rustc-hash = "2.1.1"
serde = "1.0.219"
serde_json = "1.0.140"
sha-1 = "0.10.1"
sha2 = "0.10.8"
sha2 = "0.11.0-rc.0"
simdnbt = "0.7"
socks5-impl = "0.6.2"
syn = "2.0.100"
socks5-impl = "0.7.0"
syn = "2.0.103"
thiserror = "2.0.12"
tokio = "1.44.2"
tokio = "1.45.1"
tokio-util = "0.7.15"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
hickory-resolver = "0.25.2"
uuid = "1.16"
uuid = "1.17"
num-format = "0.4.4"
indexmap = "2.9.0"
paste = "1.0.15"

View file

@ -14,7 +14,7 @@ aes.workspace = true
azalea-buf = { path = "../azalea-buf", version = "0.12.0" }
cfb8.workspace = true
num-bigint.workspace = true
rand = { workspace = true, features = ["getrandom"] }
rand = { workspace = true, features = ["os_rng"] }
rsa = { workspace = true, features = ["sha2"] }
rsa_public_encrypt_pkcs1.workspace = true
sha-1.workspace = true

View file

@ -6,13 +6,13 @@ use aes::{
Aes128,
cipher::{BlockDecryptMut, BlockEncryptMut, KeyIvInit, inout::InOutBuf},
};
use rand::{RngCore, rngs::OsRng};
use rand::{TryRngCore, rngs::OsRng};
use sha1::{Digest, Sha1};
pub use signing::*;
fn generate_secret_key() -> [u8; 16] {
let mut key = [0u8; 16];
OsRng.fill_bytes(&mut key);
OsRng.try_fill_bytes(&mut key).unwrap();
key
}

View file

@ -83,7 +83,7 @@ pub fn sign_chat_message(opts: &SignChatMessageOptions) -> MessageSignature {
// ... not implemented yet
let signing_key = rsa::pkcs1v15::SigningKey::<Sha256>::new(opts.private_key.clone());
let mut rng = rand::thread_rng();
let mut rng = rand::rng();
let signature = signing_key
.sign_with_rng(&mut rng, &data_to_sign)
.to_bytes();

View file

@ -8,7 +8,7 @@ repository.workspace = true
[dev-dependencies]
azalea-client = { path = "../azalea-client" }
criterion = "0.5.1"
criterion = "0.6.0"
[dependencies]
azalea-block = { path = "../azalea-block", default-features = false, version = "0.12.0" }