Update benchmarks to serde 0.8

This commit is contained in:
David Tolnay
2016-10-18 22:15:54 -07:00
parent 1b42f3f594
commit 21c9446890
5 changed files with 69 additions and 1 deletions
+14
View File
@@ -411,6 +411,13 @@ mod deserializer {
}
}
}
forward_to_deserialize! {
bool usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 char str
string unit option seq seq_fixed_size bytes map unit_struct
newtype_struct tuple_struct struct struct_field tuple enum
ignored_any
}
}
impl de::SeqVisitor for Deserializer<usize> {
@@ -470,6 +477,13 @@ mod deserializer {
}
}
}
forward_to_deserialize! {
bool usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 char str
string unit option seq seq_fixed_size bytes map unit_struct
newtype_struct tuple_struct struct struct_field tuple enum
ignored_any
}
}
impl de::SeqVisitor for Deserializer<u8> {