benashford / redis-async-rs

A Rust client for Redis, using Tokio
Apache License 2.0
253 stars 30 forks source link

Report errors better #71

Closed benashford closed 3 years ago

benashford commented 3 years ago

This is a very minor, but breaking, change (hence bumping from 0.9 to 0.10) to:

  1. Fix a bug where a connection error when the connection is idle would panic.
  2. In the case where the connection is not idle, but an error happens, some information as to error will be communicated to any waiting tasks.

Since it's a breaking change I've also renamed a few things to ensure it follows Rust idioms as enforced by Clippy.