this should fix plugin errors

at least for now
This commit is contained in:
Alexander Medvedev
2025-11-01 12:13:28 +01:00
parent 32b76fc730
commit 47bbc56591
9 changed files with 427 additions and 516 deletions

View File

@@ -19,4 +19,4 @@ jobs:
- name: Checkout Actions Repository
uses: actions/checkout@v5
- name: Spell Check Repo
uses: crate-ci/typos@v1.38.1
uses: crate-ci/typos@v1.39.0

907
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -30,7 +30,7 @@ debug = true
[workspace.dependencies]
log = "0.4"
tokio = { version = "1.47", features = [
tokio = { version = "1.48", features = [
"macros",
"net",
"rt-multi-thread",

View File

@@ -10,7 +10,7 @@ pumpkin-util = { path = "../pumpkin-util" }
pumpkin-nbt = { path = "../pumpkin-nbt" }
serde.workspace = true
crc-fast = "1.5.0"
crc-fast = "1.6.0"
[build-dependencies]
pumpkin-util = { path = "../pumpkin-util" }

View File

@@ -30,8 +30,8 @@ cfb8 = "0.8"
async-compression = { version = "0.4.32", features = ["tokio", "zlib"] }
take_mut = "0.2.2"
bitflags = "2.9.4"
bitflags = "2.10.0"
[dev-dependencies]
# Validate correctness
flate2 = "1.1.4"
flate2 = "1.1.5"

View File

@@ -5,6 +5,8 @@ use std::{
task::{Context, Poll},
};
// TODO: Wait for aes/crypto-common to update generic array
#[expect(deprecated)]
use aes::cipher::{BlockDecryptMut, BlockEncryptMut, BlockSizeUser, generic_array::GenericArray};
use bytes::Bytes;
use codec::var_int::VarInt;
@@ -264,6 +266,8 @@ impl<W: AsyncWrite + Unpin> AsyncWrite for StreamEncryptor<W> {
out[0] = out_to_use;
} else {
// This is a stream cipher, so this value must be used
// TODO: Wait for aes/crypto-common to update generic array
#[expect(deprecated)]
let out_block = GenericArray::from_mut_slice(&mut out);
cipher.encrypt_block_b2b_mut(block.into(), out_block);
}

View File

@@ -7,7 +7,7 @@ edition.workspace = true
pumpkin-protocol = { path = "../pumpkin-protocol" }
pumpkin-util = { path = "../pumpkin-util" }
indexmap = { version = "2.11", features = ["serde"] }
indexmap = { version = "2.12", features = ["serde"] }
serde.workspace = true
serde_json.workspace = true

View File

@@ -26,7 +26,7 @@ crossbeam.workspace = true
num-derive = "0.4"
sha2 = "0.10"
bitflags = "2.9.4"
bitflags = "2.10.0"
dashmap = "6.1"
@@ -42,7 +42,7 @@ enum_dispatch = "0.3"
derive-getters = "0.5.0"
thread_local = "1.1.9"
lru = "0.16.1"
lru = "0.16.2"
tokio-util = { version = "0.7.16", features = ["rt"] }
rand = "0.9.2"
@@ -79,4 +79,4 @@ name = "noise_router"
harness = false
[features]
tokio_taskdump = []
tokio_taskdump = []

View File

@@ -50,7 +50,7 @@ num-bigint = "0.4"
rustyline-async = "0.4.7"
# encryption
rsa = { version = "=0.10.0-rc.5", features = ["sha1"] }
rsa = { version = "=0.10.0-rc.9", features = ["sha1"] }
rsa-der = "0.3"
# authentication
@@ -58,11 +58,11 @@ ureq = { version = "3.1.2", features = [
"json",
] }
sha1 = "=0.11.0-rc.0"
sha1 = "=0.11.0-rc.2"
# velocity en
hmac = "=0.13.0-rc.0"
sha2 = "=0.11.0-rc.0"
hmac = "=0.13.0-rc.2"
sha2 = "=0.11.0-rc.2"
base64 = "0.22.1"
@@ -82,8 +82,8 @@ tokio-util = { version = "0.7.16", features = ["rt"] }
# Memory profiling
dhat = { version = "0.3.3", optional = true }
flate2 = "1.1.4"
console-subscriber = { version = "0.4.1", optional = true }
flate2 = "1.1.5"
console-subscriber = { version = "0.5.0", optional = true }
signature = "2.2.0"
[dev-dependencies]
tempfile.workspace = true
@@ -93,4 +93,4 @@ tempfile.workspace = true
#https://valgrind.org/docs/manual/dh-manual.html
dhat-heap = ["dep:dhat"]
console-subscriber = ["dep:console-subscriber"]
tokio_taskdump = ["pumpkin-world/tokio_taskdump"]
tokio_taskdump = ["pumpkin-world/tokio_taskdump"]