Skip to content

chore: update dependencies - #1317

Merged
FlorentinDUBOIS merged 2 commits into
mainfrom
chore/deps
Aug 28, 2026
Merged

FlorentinDUBOIS merged 2 commits into
mainfrom
chore/deps

Conversation

@FlorentinDUBOIS

@FlorentinDUBOIS FlorentinDUBOIS commented Aug 28, 2026 •

Copy link
Copy Markdown
Collaborator

Refresh every workspace requirement to its latest published version, expressed in Cargo.toml as explicit ^x.y.z requirements (never a lock-only bump), with Cargo.lock and fuzz/Cargo.lock regenerated as a consequence.

Requirement bumps (Cargo.toml)

Crate From To Kind
async-trait ^0.1.91 ^0.1.92 patch
flate2 ^1.1.9 ^1.1.10 patch
futures ^0.3.33 ^0.3.34 patch
http-body-util ^0.1.4 ^0.1.5 patch
log ^0.4.33 ^0.4.34 patch
rustls-openssl ^0.3.1 ^0.4.0 0.x major
tui-big-text ^0.8.8 ^0.8.9 patch

rustls-openssl 0.4.0 keeps its exact feature table (default-features = false, ["tls12"]) and needs no code change: its feature map and rustls requirement (^0.23.20) are unchanged from 0.3.1, and the crypto-openssl cell builds clean against it (lib/src/crypto.rs re-exports compile as-is). Every other direct requirement — including fuzz/'s own — was already at its registry latest.

Lock refresh

  • ~40 transitive patch/minor bumps ride the cargo update, and cargo audit reports zero advisories on the refreshed locks (the pre-existing RUSTSEC-2026-0258 on h2 was closed on main by bfde514; this refresh aligns fuzz/Cargo.lock too).
  • New transitive crate: zlib-rs 0.6.7 (via flate2 1.1.10 / miniz_oxide 0.9.1).

Deliberately not bumped

generic-array stays at 0.14.7: crypto-common 0.1.7 pins =0.14.7, reached through ratatui → ratatui-termwiz → termwiz → sha2 → digest (the tui feature path), so 0.14.9 is unresolvable from this workspace. No advisory, not yanked; worth re-probing after a future ratatui major.

Validation

On toolchain 1.93.1 (declared MSRV), all on the rebased tree:

  • cargo build --all-features --locked
  • cargo build -p sozu-lib --no-default-features --features crypto-openssl --locked
  • cargo clippy --all-targets --all-features --locked -- -D warnings
  • cargo +nightly fmt --all -- --check
  • cargo test --workspace --locked
  • RUSTFLAGS="--cfg tokio_unstable" cargo test -p sozu-sim --locked (both seed sweeps)
  • cd fuzz && cargo +nightly fuzz build (all four targets)

All green. During pre-rebase validation the two TCP-SNI 1 MiB payload e2e tests each failed once under full-suite load and passed 3/3 isolated plus in the majority of full runs on both this tree and an unmodified main; the relay path is raw std::net and untouched by this diff, so this is the known load-sensitive deadline shape, not a regression from the bumps.

rustls-openssl 0.4.0 fixes the TLS 1.2 + ECDSA regression

The first CI run failed exactly one job (crypto-openssl) on test_tls_1_2_ecdsa_openssl_regression_probe — the sentinel that was designed to turn red the moment upstream fixed the 0.3.x TLS 1.2 + ECDSA handshake failure. 0.4.0 does fix it (test_tls_1_2_ecdsa passes under crypto-openssl locally), so per the probe's own removal instructions the second commit deletes the probe and drops the #[cfg_attr(feature = "crypto-openssl", ignore = …)] from test_tls_1_2_ecdsa, returning that cell to full parity with the other providers.

Refresh every workspace requirement to its latest published version, in
explicit caret form: async-trait ^0.1.92, flate2 ^1.1.10, futures
^0.3.34, http-body-util ^0.1.5, log ^0.4.34, rustls-openssl ^0.4.0 and
tui-big-text ^0.8.9. The rustls-openssl 0.x-major keeps its feature set
(default-features = false, tls12) and needs no code change: the
crypto-openssl cell builds clean against 0.4.0.

Regenerate Cargo.lock and fuzz/Cargo.lock as a consequence; the lock
refresh carries h2 0.4.19, closing RUSTSEC-2026-0258, and cargo audit
now reports no advisory. generic-array stays at 0.14.7: crypto-common
0.1.7 pins =0.14.7 through the ratatui/termwiz/sha2 chain, so 0.14.9 is
unresolvable from this workspace.

Signed-off-by: Florentin Dubois <[email protected]>
rustls-openssl 0.4.0 fixes the TLS 1.2 + ECDSA handshake regression
that 0.3.x carried, so the crypto-openssl CI cell now exercises
test_tls_1_2_ecdsa like every other provider cell. Remove the companion
regression probe, whose assert_ne turned red on the fixed handshake by
design, per its own removal instructions.

Signed-off-by: Florentin Dubois <[email protected]>
@FlorentinDUBOIS
FlorentinDUBOIS merged commit 027471d into main Aug 28, 2026
40 of 41 checks passed
@FlorentinDUBOIS
FlorentinDUBOIS deleted the chore/deps branch August 28, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant