From 2ac33cc01bbc2507d91c5ff0498f193d5d7d6c0c Mon Sep 17 00:00:00 2001 From: "Aaron D. Lee" Date: Mon, 6 Jul 2026 02:29:55 -0400 Subject: [PATCH] fix(deps): pin redis to 0.27 (MSRV 1.70, works with 1.85 toolchain) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit redis 1.3.0 requires Rust 1.88, conflicting with the workspace MSRV of 1.85 (rust-toolchain.toml). redis 0.27.6 has MSRV 1.70, well within 1.85. The xadd_maxlen + StreamMaxlen::Approx API is identical between 0.27 and 1.3 — no kimi-worker T8 code changes needed beyond the version pin. BSD-3-Clause license unchanged. Signed-off-by: Aaron D. Lee --- Cargo.toml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 044cf5e..31688a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -89,16 +89,19 @@ rustls = { version = "0.23", default-features = false, features = ["aws-lc-rs", # (transitive once Task 1's Cargo.lock resolves). Used by the serve_tls integration # test's TLS client handshake. tokio-rustls = { version = "0.26", default-features = false, features = ["aws-lc-rs", "ring"] } -# redis 1.3.0: Valkey/Redis client for ValkeyEventSink (deploy spec §5.6). -# BSD-3-Clause (verified via docs.rs/redis/1.3.0 + crates.io API), cargo-deny clean against -# the deny.toml allow list (line 88). Features: +# redis 0.27: Valkey/Redis client for ValkeyEventSink (deploy spec §5.6). +# BSD-3-Clause (verified via docs.rs/redis + crates.io API), cargo-deny clean against +# the deny.toml allow list (line 88). Pinned to 0.27 (NOT 1.3.0) because redis 1.3.0 +# requires Rust 1.88, conflicting with the workspace MSRV of 1.85 +# (rust-toolchain.toml). redis 0.27.6 has MSRV 1.70, well within 1.85. +# Features: # - aio: async API (ConnectionManager, AsyncCommands) -# - streams: XADD MAXLEN ~ (the capped-stream primitive) +# - streams: XADD MAXLEN ~ (the capped-stream primitive, StreamMaxlen::Approx) # - tokio-comp: tokio runtime adapter # Used only by crates/rutster/src/valkey_sink.rs. default-features = false deliberately DROPS # the redis crate's TLS feature — TLS to Valkey is the operator's network posture # (ADR-0005 sub-ms rule), not a rutster code path. -redis = { version = "1.3.0", default-features = false, features = ["aio", "streams", "tokio-comp"] } +redis = { version = "0.27", default-features = false, features = ["aio", "streams", "tokio-comp"] } # rcgen NOTE: rcgen 0.14.8 bumped MSRV to Rust 1.88, breaking the 1.85 # toolchain matrix. rcgen is a transitive dep via dimpl → str0m 0.21 → # rutster-media. Cargo.lock pins it to 0.14.7 (the minimum satisfying