Fixes and improvements
- Breaking change: rename
parse_asynctoparse_redis_value_asyncfor consistency (ce59cecb). - Run clippy over the entire codebase (#238)
- Breaking change: Make
Script#invoke_asyncgeneric overaio::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>()