github redis-rs/redis-rs 0.13.0
v0.13.0

latest releases: redis-0.25.3, redis-0.25.2, redis-0.25.1...
4 years ago

Fixes and improvements

  • Breaking change: rename parse_async to parse_redis_value_async for consistency (ce59cecb).
  • Run clippy over the entire codebase (#238)
  • Breaking change: Make Script#invoke_async generic over aio::ConnectionLike (#242)

BREAKING CHANGES

Rename parse_async to parse_redis_value_async for consistency (ce59cecb).

If you used redis::parse_async before, you now need to change this to redis::parse_redis_value_async
or import the method under the new name: use redis::parse_redis_value_async.

Make Script#invoke_async generic over aio::ConnectionLike (#242)

Script#invoke_async was changed to be generic over aio::ConnectionLike in order to support wrapping a SharedConnection in user code.
This required adding a new generic parameter to the method, causing an error when the return type is defined using the turbofish syntax.

Old:

redis::Script::new("return ...")
  .key("key1")
  .arg("an argument")
  .invoke_async::<String>()

New:

redis::Script::new("return ...")
  .key("key1")
  .arg("an argument")
  .invoke_async::<_, String>()

Don't miss a new redis-rs release

NewReleases is sending notifications on new releases.