Erick Tryzelaar
|
49fa208242
|
Minor cleanup
|
2015-07-30 08:06:04 -07:00 |
|
Erick Tryzelaar
|
351b7039a8
|
Rename de::VariantVisitor::visit_{map,seq} to visit_{struct,tuple}
|
2015-07-30 06:45:21 -07:00 |
|
Erick Tryzelaar
|
6c9cebdcc3
|
Pass the variant fields and tuple lengths into visit_{enum,tuple,tuple_struct}
|
2015-07-30 06:45:21 -07:00 |
|
Erick Tryzelaar
|
0058e3a8d4
|
Merge pull request #111 from oli-obk/master
tuple enums with single element should not be a json-array
|
2015-07-29 13:35:43 -07:00 |
|
Oliver Schneider
|
5885111863
|
deserialize tuple enums with single element directly as the value instead of a sequence
|
2015-07-24 09:10:58 +02:00 |
|
Erick Tryzelaar
|
b1cb5379de
|
Add `#[serde(skip_serializing)] to skip serializing some fields
Closes #99
|
2015-07-23 08:07:49 -07:00 |
|
Erick Tryzelaar
|
d4c20829f6
|
Inline enum visit_map
|
2015-07-22 10:44:43 -07:00 |
|
Erick Tryzelaar
|
dbe2beacb0
|
Allow structs to be deserialized from sequences
This relies on the sequence to have the same ordering as the
struct field order.
|
2015-07-22 10:44:43 -07:00 |
|
Erick Tryzelaar
|
5dae700aec
|
Pass struct field names to deserializer
|
2015-07-22 10:44:42 -07:00 |
|
Erick Tryzelaar
|
10f23dddfe
|
Rename named_* to use {enum,struct,unit}_*
This better reflects how they're used.
|
2015-07-22 10:44:42 -07:00 |
|
Erick Tryzelaar
|
b09c0fc653
|
Fix an indent typo
|
2015-06-18 07:49:13 -07:00 |
|
Erick Tryzelaar
|
ac3a3e922f
|
Fix compilation with rust nightly (613e57b44) and syntex 0.7.0
|
2015-06-08 06:55:36 -07:00 |
|
Erick Tryzelaar
|
2c24be90d2
|
Switch to using MultiDecorator
|
2015-05-18 22:49:49 -07:00 |
|
Erick Tryzelaar
|
24ac61f9f2
|
Pull codegen into it's own crate
|
2015-05-18 22:47:35 -07:00 |
|