@@ -22,21 +22,23 @@ pub struct Value<'a>(#[serde(borrow, with = "serde_bytes")] pub Cow<'a, [u8]>);
2222/// All entries in a stream, belonging to a [Key].
2323#[ derive( Debug , Default , PartialEq , Eq , Clone , Serialize , Deserialize ) ]
2424#[ serde( transparent) ]
25- pub struct Entries < ' a > ( #[ serde( borrow, with = "resp::util::tuple_map" ) ] pub HashMap < Id , Entry < ' a > > ) ;
25+ pub struct Entries < ' a > (
26+ #[ serde( borrow, with = "redust_resp::util::tuple_map" ) ] pub HashMap < Id , Entry < ' a > > ,
27+ ) ;
2628
2729pub type Entry < ' a > = HashMap < Field < ' a > , Value < ' a > > ;
2830
2931#[ derive( Debug , Default , PartialEq , Eq , Clone , Serialize , Deserialize ) ]
3032#[ serde( transparent) ]
3133pub struct ReadResponse < ' a > (
32- #[ serde( borrow, with = "resp ::util::tuple_map" ) ] pub HashMap < Key < ' a > , Entries < ' a > > ,
34+ #[ serde( borrow, with = "redust_resp ::util::tuple_map" ) ] pub HashMap < Key < ' a > , Entries < ' a > > ,
3335) ;
3436
3537#[ cfg( test) ]
3638mod test {
3739 use std:: borrow:: Cow ;
3840
39- use resp :: { array, from_data, Data } ;
41+ use redust_resp :: { array, from_data, Data } ;
4042
4143 use crate :: model:: stream:: {
4244 read:: { Field , Key , Value } ,
0 commit comments