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 |
|
David Tolnay
|
ca47eb929c
|
Merge pull request #678 from serde-rs/empty
Handle various degenerate cases
|
2017-01-11 11:45:24 -08:00 |
|
David Tolnay
|
b01c23b5ee
|
Also provide a smarter alternative for the other impossible case
|
2017-01-11 11:34:47 -08:00 |
|
David Tolnay
|
3aaf29c846
|
Remove ref in top-level let pattern
Discouraged by Clippy.
|
2017-01-11 11:12:53 -08:00 |
|
David Tolnay
|
d2eea87001
|
Handle various degenerate cases
|
2017-01-11 11:02:24 -08:00 |
|
David Tolnay
|
8242c64152
|
Merge branch v0.8 into master
|
2017-01-10 17:16:31 -08:00 |
|
David Tolnay
|
9e45bd8c87
|
Release 0.8.22
|
2017-01-10 17:10:26 -08:00 |
|
Oliver Schneider
|
405b534254
|
Merge pull request #674 from serde-rs/nonascii
Add test for non ascii idents
|
2017-01-10 11:16:19 +01:00 |
|
David Tolnay
|
d34be74dfd
|
Add test for non ascii idents
|
2017-01-10 01:20:01 -08:00 |
|
David Tolnay
|
c475df8320
|
Encourage GitHub issues
|
2017-01-09 14:44:36 -08:00 |
|
Oliver Schneider
|
2b8a620807
|
Merge pull request #671 from serde-rs/fields
Stop generating visit_usize and visit_bytes for FieldVisitor
|
2017-01-09 13:09:18 +01:00 |
|
David Tolnay
|
1cd6aee562
|
Merge pull request #670 from serde-rs/error
Stop exporting serde:🇩🇪:Error as serde::Error
|
2017-01-09 00:45:04 -08:00 |
|
David Tolnay
|
90d4d7b37b
|
Restore the old FieldVisitor tests as error tests
|
2017-01-09 00:43:13 -08:00 |
|
David Tolnay
|
1f8b803607
|
Repetition for field visitor arms
|
2017-01-09 00:37:37 -08:00 |
|
David Tolnay
|
516cc8b04e
|
Stop generating visit_usize and visit_bytes for FieldVisitor
|
2017-01-08 01:01:56 -08:00 |
|
David Tolnay
|
0676477cd7
|
Stop exporting serde:🇩🇪:Error as serde::Error
|
2017-01-08 00:50:07 -08:00 |
|
David Tolnay
|
4193122472
|
Use the more concise paths in generated code
|
2017-01-08 00:47:44 -08:00 |
|
David Tolnay
|
eb6fb1d40e
|
Merge pull request #523 from serde-rs/enum
Enum deserialization API
|
2017-01-08 00:45:50 -08:00 |
|
David Tolnay
|
bf873a7b3f
|
Merge branch origin/master into origin/enum
Conflicts:
serde/src/de/mod.rs
serde_codegen/src/de.rs
testing/tests/test_bytes.rs
|
2017-01-08 00:31:07 -08:00 |
|
David Tolnay
|
fbd4a17467
|
Merge pull request #664 from serde-rs/visitor-value
Remove the Deserialize trait bound on Visitor::Value
|
2017-01-08 00:24:53 -08:00 |
|
David Tolnay
|
ad34c14c8c
|
Prepare for 0.9 breaking changes
|
2017-01-08 00:18:53 -08:00 |
|
David Tolnay
|
e461a23798
|
Not intended to be published
|
2017-01-08 00:18:37 -08:00 |
|
David Tolnay
|
894a21bc1f
|
Remove the proc_macro feature gate
|
2017-01-08 00:11:11 -08:00 |
|
David Tolnay
|
1ecf3730ee
|
Update to syntex 0.54
|
2017-01-06 01:26:51 -08:00 |
|