redis-derive icon indicating copy to clipboard operation
redis-derive copied to clipboard

This crate implements the FromRedisValue and ToRedisArgs Traits from mitsuhiko / redis-rs for any struct

Results 5 redis-derive issues
Sort by recently updated
recently updated
newest added

I am trying to use this crate with `PUSH` and `BLPOP` and that doesn't seem to work. Particularly, when using `BLPOP`, instead of having the entire struct returned, the deserialization...

Thank you for making this! Opening this issue to track discussion about supporting fixed-sized arrays.

```rs use redis_derive::{FromRedisValue, ToRedisArgs}; use std::collections::HashMap; use redis::Commands; #[derive(FromRedisValue, ToRedisArgs, Debug)] enum Color { Red, Green, } #[derive(Default, FromRedisValue, ToRedisArgs, Debug)] #[redis(rename_all = "snake_case")] enum Group { #[default] MemberGroup, AdminGroup,...

bug
enhancement

Hey, thanks for writing this crate! It was super helpful. At some point, though, it would nice to have support for tuple structs. Just something to keep in mine.