MyGit

0.13.0

redis-rs/redis-rs

版本发布时间: 2019-10-15 03:30:59

redis-rs/redis-rs最新发布版本:redis-0.27.4(2024-10-10 02:59:20)

Fixes and improvements

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>()

相关地址:原始地址 下载(tar) 下载(zip)

查看:2019-10-15发行的版本