chore(deps): update all dependencies to latest versions#1190
Merged
FlorentinDUBOIS merged 1 commit intomainfrom Mar 8, 2026
Merged
chore(deps): update all dependencies to latest versions#1190FlorentinDUBOIS merged 1 commit intomainfrom
FlorentinDUBOIS merged 1 commit intomainfrom
Conversation
Update 27 workspace dependencies across 5 phases:
Phase 1 - Safe semver bumps (21 deps):
anyhow, clap, futures, libc, log, memchr, mio, prost, prost-build,
regex, rustls, serde_json, serial_test, slab, socket2, tempfile,
termion, thiserror, tokio, x509-parser, quickcheck
Phase 2 - Low-risk breaking changes:
- nix 0.30 -> 0.31: add "process" feature for fork()
- toml 0.9 -> 1.0: add preserve_order feature
Phase 3 - Medium-risk breaking changes:
- rand 0.9 -> 0.10: Rng -> RngExt, thread_rng -> rng,
gen_range -> random_range, RngCore -> Rng
Phase 4 - High-risk breaking changes (e2e only):
- hyper 0.14 -> 1.8: migrate to hyper-util client::legacy
- hyper-rustls 0.24 -> 0.27: aligned with hyper 1.x
- e2e rustls 0.21 -> 0.23 (workspace): rewrite ServerCertVerifier,
remove dangerous_configuration feature (RUSTSEC-2024-0336)
- Add http-body-util and hyper-util workspace deps
- Bump e2e MSRV 1.82 -> 1.85, edition 2021 -> 2024
Additional fixes:
- Fix unsafe extern "C" in splice.rs (edition 2024)
- Fix deprecated try_next -> try_recv in async_backend.rs
- Fix needless_lifetimes in certificate.rs and display.rs
- Fix unnecessary_fallible_conversions in sync_backend.rs
- Move num_cpus to workspace dependency
- Update resolver comment for edition 2024
Deferred: nom 7 -> 8 (blocked by x509-parser dependency)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rng→RngExtAPI rename)preserve_orderfeatureprocessfeature forfork())Breaking dependency changes
https_client.rstohyper-utilclientServerCertVerifiertrait, fixes RUSTSEC-2024-0336Rng→RngExt,thread_rng()→rng(),gen_range→random_range"process"feature tobin/Cargo.tomlNew workspace dependencies
http-body-util ^0.1— body handling for hyper 1.xhyper-util ^0.1— client utilities for hyper 1.xnum_cpus— promoted from inlinebin/Cargo.tomlto workspaceFiles changed (19)
Cargo.toml/Cargo.lock— version bumps + new depsbin/Cargo.toml— nixprocessfeature, num_cpus workspacee2e/Cargo.toml— edition 2024, MSRV 1.85, hyper/rustls depse2e/src/mock/https_client.rs— complete rewrite for hyper 1.x + rustls 0.23e2e/src/tests/tests.rs— updatedresolve_requestcall sitee2e/src/mock/async_backend.rs—try_next()→try_recv()lib/src/load_balancing.rs,lib/src/retry.rs,lib/src/protocol/kawa_h1/editor.rs— rand 0.10command/src/state.rs,command/examples/bench_logger.rs— rand 0.10command/src/certificate.rs,command/src/logging/display.rs— lifetime elisione2e/src/mock/sync_backend.rs—try_into()→into()lib/src/splice.rs—unsafe extern "C"(edition 2024)e2e/src/http_utils/mod.rs,e2e/src/sozu/worker.rs,e2e/src/tests/mod.rs— fmt (edition 2024)Test plan
cargo build --all-features— passescargo clippy --all-features— no new warningscargo +nightly fmt --check— passes (pre-existing prost-generated diff only)cargo test --workspace— 125 passed, 0 failed, 9 ignored (same as main)