This repository was archived by the owner on Apr 4, 2026. It is now read-only.
chore: upgrade fred v9 → v10.1#90
Merged
Merged
Conversation
- Rename types: RedisPool→Pool, RedisConfig→Config, RedisValue→Value, RedisError→Error, RedisErrorKind→ErrorKind - Remove auto_pipeline (always on in v10) - Replace connect()+wait_for_connect() with init() - Make event handlers async (on_error now receives (err, server) tuple) - Update ClusterHash usage (moved to private module, use None::<u16>) - Import Scanner trait from fred::types::scan for take_results() - Replace prelude glob imports in stream.rs with specific trait imports
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
fredRedis client from v9 to v10.1, a major release with type renames, async event handlers, and removal ofauto_pipelineconfigRedisPool→Pool,RedisConfig→Config,RedisValue→Value,RedisError→Error,RedisErrorKind→ErrorKindconnect()+wait_for_connect()withinit(), make event handlers async, and fixClusterHashusage after it moved to a private moduleTest plan
cargo check— all type renames compilecargo clippy— no warningscargo test— 264 passed, 0 failedcargo build --release— full release build succeeds