David Tolnay
|
4d1627fc96
|
Merge pull request #687 from serde-rs/ser
Enforce correct use of Serialize trait
|
2017-01-15 09:22:30 -08:00 |
|
David Tolnay
|
7c04bf36d9
|
Merge pull request #686 from serde-rs/de
Enforce correct use of Deserialize trait
|
2017-01-15 07:30:14 -08:00 |
|
David Tolnay
|
4b06030666
|
Unabbreviated method naming
|
2017-01-14 21:39:37 -08:00 |
|
David Tolnay
|
a5a04306f2
|
Update tests for Serializer changes
|
2017-01-14 16:07:43 -08:00 |
|
David Tolnay
|
f9885c4826
|
Update serde_codegen for Serializer changes
|
2017-01-14 16:07:34 -08:00 |
|
David Tolnay
|
04f25eb122
|
Update serde_test for Serializer changes
|
2017-01-14 16:07:17 -08:00 |
|
David Tolnay
|
2fea5f3e1c
|
Enforce correct use of Serialize trait
|
2017-01-14 15:21:31 -08:00 |
|
David Tolnay
|
905b2c3cf3
|
Expose VariantVisitor for the StrDeserializer
|
2017-01-14 14:17:46 -08:00 |
|
David Tolnay
|
d5b428a087
|
Fix imports for stable compiler
|
2017-01-14 14:16:01 -08:00 |
|
David Tolnay
|
b3b8056d93
|
Update tests for Deserializer changes
|
2017-01-14 13:42:49 -08:00 |
|
David Tolnay
|
137cf9bab8
|
Update serde_codegen for Deserializer changes
|
2017-01-14 13:42:48 -08:00 |
|
David Tolnay
|
7372f152bd
|
Update serde_test for Deserializer changes
|
2017-01-14 13:42:45 -08:00 |
|
David Tolnay
|
a43da15b74
|
Merge pull request #685 from mineo/patch-1
Typo: aggrergate -> aggregate
|
2017-01-14 13:36:49 -08:00 |
|
Wieland Hoffmann
|
212cbbd8bf
|
Typo: aggrergate -> aggregate
|
2017-01-14 22:33:31 +01:00 |
|
David Tolnay
|
738aa31733
|
Enforce correct use of Deserialize trait
|
2017-01-14 12:16:08 -08:00 |
|
Oliver Schneider
|
787ecc6a82
|
Merge pull request #684 from serde-rs/end
Remove SeqVisitor::end() and MapVisitor::end()
|
2017-01-14 08:01:53 +01:00 |
|
David Tolnay
|
9fc8a86bcc
|
Exclude serde-syntex-example until serde_json has been updated
|
2017-01-13 13:34:41 -08:00 |
|
David Tolnay
|
800442a75e
|
Handle visitor that does not need to be mutable
|
2017-01-13 13:34:39 -08:00 |
|
David Tolnay
|
88debb3fb8
|
Remove SeqVisitor::end() and MapVisitor::end()
|
2017-01-13 13:34:38 -08:00 |
|
David Tolnay
|
88a4ed9cd7
|
Include missing_field in impl MapVisitor for &mut MapVisitor
|
2017-01-13 13:33:37 -08:00 |
|
David Tolnay
|
bdba6fc5b0
|
Remove the proc_macro feature gate in serde-syntex-example
|
2017-01-13 10:27:51 -08:00 |
|
Oliver Schneider
|
dec116311e
|
Merge pull request #682 from serde-rs/unknown
Treat skipped fields as unknown
|
2017-01-13 10:46:18 +01:00 |
|
David Tolnay
|
8c49e6d6a5
|
Resolve conflict between rename changes and skip changes
|
2017-01-13 01:27:07 -08:00 |
|
David Tolnay
|
7cc24a43fb
|
Merge branch master into unknown
Conflicts:
serde_codegen/src/de.rs
|
2017-01-13 01:23:00 -08:00 |
|
David Tolnay
|
c008c6d3a8
|
Merge pull request #681 from serde-rs/deserialize_struct_bug
fix various serde(rename) bugs
|
2017-01-13 01:21:46 -08:00 |
|
David Tolnay
|
c9f5d08ed1
|
Add test for all variants skipped
|
2017-01-13 01:14:03 -08:00 |
|
David Tolnay
|
fff6c9cb66
|
Add tests for all fields skipped
|
2017-01-13 01:12:31 -08:00 |
|
David Tolnay
|
cb5e7c6264
|
Fix case of skipped variant followed by other variants
|
2017-01-12 23:35:39 -08:00 |
|
David Tolnay
|
4ef1128546
|
More explicit about argument to deserialize_field_visitor
|
2017-01-12 23:30:57 -08:00 |
|
David Tolnay
|
227bea1d0b
|
Treat skipped fields as unknown
|
2017-01-12 23:17:45 -08:00 |
|
David Tolnay
|
766ede965e
|
Eliminate collects in codegen for deserializing map
|
2017-01-12 21:52:56 -08:00 |
|
David Tolnay
|
eb5a49e380
|
Use helper function to build __field{}
|
2017-01-12 21:49:20 -08:00 |
|
David Tolnay
|
2df529cac5
|
Simplify codegen logic in deserializing seq
|
2017-01-12 21:41:27 -08:00 |
|
David Tolnay
|
4b66463011
|
Eliminate collect in deserializing seq
|
2017-01-12 21:29:50 -08:00 |
|
David Tolnay
|
b907cfef85
|
Eliminate collect in visitor generics
|
2017-01-12 21:28:09 -08:00 |
|
David Tolnay
|
506c8cc087
|
Simplify the trait paths used in bounds
|
2017-01-12 21:24:51 -08:00 |
|
David Tolnay
|
3951ef91c0
|
Don't need aster to construct syn::Ident
|
2017-01-12 21:15:13 -08:00 |
|
David Tolnay
|
b0d20afdfb
|
Merge pull request #680 from serde-rs/oli-obk-patch-1
make `ser::iterator` more general by taking `IntoIterator`
|
2017-01-12 16:45:39 -08:00 |
|
Oliver Schneider
|
5e6ee523d2
|
remove duplicate into_iter
|
2017-01-12 21:52:38 +01:00 |
|
Oliver Schneider
|
a07b6bd9e7
|
also use the renamed variant names during deserialization
|
2017-01-12 20:21:59 +01:00 |
|
Oliver Schneider
|
8dd06eed2f
|
type inference failure
|
2017-01-12 20:19:00 +01:00 |
|
Oliver Schneider
|
5b668ed87a
|
attempt to test the field names, but deem it too complex and opt to at least improve the code
|
2017-01-12 20:17:55 +01:00 |
|
Oliver Schneider
|
abe305dbfe
|
fix deserialize_struct passing the original field names instead of the renamed ones
|
2017-01-12 20:17:02 +01:00 |
|
Oliver Schneider
|
2d1a60c056
|
Update the Serialize impl, too
|
2017-01-12 20:06:44 +01:00 |
|
Oliver Schneider
|
5edfdba940
|
use IntoIterator everywhere
|
2017-01-12 20:05:26 +01:00 |
|
Oliver Schneider
|
756bff534f
|
make ser::iterator more general by taking IntoIterator
|
2017-01-12 19:24:35 +01:00 |
|
David Tolnay
|
110d36fa14
|
Merge pull request #679 from oli-obk/iterators
add wrapper to serde that allows serializing iterators as sequences
|
2017-01-12 10:19:09 -08:00 |
|
Oliver Schneider
|
8c576fe9fb
|
rename IteratorSerializer to Iterator
|
2017-01-12 17:29:04 +01:00 |
|
Oliver Schneider
|
b860d3cb1f
|
fix tests on stable
|
2017-01-12 16:06:26 +01:00 |
|
Oliver Schneider
|
dced4416a7
|
add wrapper to serde that allows serializing iterators as sequences
|
2017-01-12 15:31:40 +01:00 |
|