David Tolnay
52e93150e6
Standardize on u32 as the type of a variant index
2017-04-09 14:03:18 -07:00
David Tolnay
826b53f691
Update token names in serde_test
2017-04-05 10:30:46 -07:00
David Tolnay
67ed7a0edd
Eliminate Sep tokens in serde_test
2017-04-05 09:42:27 -07:00
David Tolnay
21adee8f40
Partial support for EnumStart in assert_ser_tokens
2017-04-05 01:15:42 -07:00
David Tolnay
afaab12b66
Improve assert_ser_tokens error messages
2017-04-05 01:06:42 -07:00
David Tolnay
93860d0643
Require slice of tokens in serde_test::Serializer
2017-04-05 00:27:30 -07:00
David Tolnay
5871fb9ce0
Remove lifetime from serde_test::Token
2017-04-05 00:17:50 -07:00
Clar Charr
09e467cc4c
Documentation for serde_test.
2017-02-28 18:20:27 -05:00
David Tolnay
e8651a52e7
Rustfmt
2017-02-12 22:15:59 -08:00
David Tolnay
e0c049dbf2
Remove usize and isize from data model
2017-01-25 09:08:06 -08:00
David Tolnay
92668d7061
Serialize T by ref
2017-01-23 17:11:18 -08:00
David Tolnay
4b06030666
Unabbreviated method naming
2017-01-14 21:39:37 -08:00
David Tolnay
04f25eb122
Update serde_test for Serializer changes
2017-01-14 16:07:17 -08:00
Steven Fackler
ea833d3427
Split serialize_map_elt
...
Like what's been done on the deserialization side with MapVisitor, this
allows some weirder uses of Serde to handle the key and value in
separate steps.
2016-07-27 12:12:07 -07:00
Oliver Schneider
42c41922ce
adjust tests for new interface
2016-07-15 12:59:30 +02:00
Oliver Schneider
16ba32dbe1
stateful map/seq serialization
2016-07-14 15:36:47 +02:00
Oliver Schneider
6adcaa55e5
json needs more info
2016-07-12 16:53:20 +02:00
Oliver Schneider
fb575225bc
simplify!
2016-07-12 16:16:48 +02:00
Oliver Schneider
3766633f4a
adjust codegen to work with the revamped map/seq serializer
2016-07-12 15:44:19 +02:00
David Tolnay
6d64104375
Factor the Token De/Serializer into serde_test
2016-06-28 21:54:51 -07:00