David Tolnay
|
ea99e8b686
|
Filter the slice of expected field and variant names
|
2017-01-21 12:18:55 -08:00 |
|
David Tolnay
|
d1325862f7
|
Merge tag v0.8.23 into master
Conflicts:
serde/Cargo.toml
serde_codegen/Cargo.toml
serde_derive/Cargo.toml
serde_test/Cargo.toml
testing/Cargo.toml
|
2017-01-20 15:29:32 -08:00 |
|
David Tolnay
|
1f65ce75ec
|
Release 0.8.23
|
2017-01-20 15:25:57 -08:00 |
|
David Tolnay
|
e41b940a3d
|
Inline <PhantomData<T> as DeserializeSeed>::deserialize
|
2017-01-19 16:17:27 -08:00 |
|
David Tolnay
|
88149fc0c3
|
Fix key and value seed variable names
Rename fail.
|
2017-01-19 13:44:18 -08:00 |
|
David Tolnay
|
5ecfb3b388
|
Update serde_test to use seeds
|
2017-01-19 01:24:33 -08:00 |
|
David Tolnay
|
13a9f929de
|
Stateful deserialization
|
2017-01-19 01:17:59 -08:00 |
|
David Tolnay
|
aa88f01cdc
|
Merge pull request #697 from serde-rs/vanity
cleanup some deprecation warnings
|
2017-01-17 09:26:44 -08:00 |
|
David Tolnay
|
13794c1b48
|
Stop testing on rust 1.12.0
|
2017-01-17 09:19:39 -08:00 |
|
David Tolnay
|
503ce310f5
|
Merge pull request #692 from serde-rs/byte_buf
add missing `Vec<u8>` deserialization hint to `Deserializer`
|
2017-01-16 08:10:25 -08:00 |
|
David Tolnay
|
bc6bc9e3f0
|
Remove LICENSE file in favor of LICENSE-MIT and LICENSE-APACHE
This repo no longer contains bench_log referenced in this file.
|
2017-01-15 10:16:57 -08:00 |
|
David Tolnay
|
3a52364f3e
|
Release 0.9.0-rc1
|
2017-01-15 09:26:44 -08:00 |
|
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 |
|
David Tolnay
|
738aa31733
|
Enforce correct use of Deserialize trait
|
2017-01-14 12:16:08 -08: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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
David Tolnay
|
1cd6aee562
|
Merge pull request #670 from serde-rs/error
Stop exporting serde::de::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::de::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 |
|
David Tolnay
|
7a0e8f73b4
|
Remove the Deserialize trait bound on Visitor::Value
|
2017-01-03 01:50:10 -08:00 |
|
David Tolnay
|
9338c4f1b9
|
Release 0.8.21
|
2016-12-24 13:10:24 -05:00 |
|
David Tolnay
|
28d67f4172
|
Format variant-skip message only if variant is skipped
|
2016-12-24 13:10:06 -05:00 |
|
David Tolnay
|
2401ae61a8
|
Update to syntex 0.52
|
2016-12-24 12:42:23 -05:00 |
|
David Tolnay
|
57d3fce0c6
|
Further simplify variant serialization patterns
|
2016-12-24 12:28:46 -05:00 |
|
David Tolnay
|
a020cceed8
|
Simplify variant serialize patterns
|
2016-12-24 12:22:45 -05:00 |
|
David Tolnay
|
49e985eb90
|
Update message for skipped enum variant
|
2016-12-24 12:16:28 -05:00 |
|
David Tolnay
|
63def96c66
|
Merge pull request #653 from shinglyu/skip_se
Implement skip_serializing for enum variant
|
2016-12-24 11:40:21 -05:00 |
|
David Tolnay
|
b7ea213926
|
Support nostd for ByteBuf from String
|
2016-12-23 23:30:27 -05:00 |
|
David Tolnay
|
871fb5adee
|
Support deserializing ByteBuf from string
|
2016-12-23 23:17:42 -05:00 |
|
David Tolnay
|
2c984980a0
|
Link to release notes from readme
|
2016-12-22 21:52:37 -05:00 |
|
David Tolnay
|
36f07912b8
|
Remove no-longer-necessary cfg
This was fixed in Rust, allowing proc macro crates to be tested.
|
2016-12-17 17:32:11 -08:00 |
|
David Tolnay
|
7222cf7514
|
Ignore warning from unused enum variant
|
2016-12-17 17:31:11 -08:00 |
|
David Tolnay
|
08c59a2e0e
|
Release 0.8.20
|
2016-12-16 07:58:52 -08:00 |
|
David Tolnay
|
4a0bf4de65
|
Merge pull request #641 from shinglyu/deser_enum
Implemented skip_deserializing for enum
|
2016-12-16 07:53:34 -08:00 |
|
David Tolnay
|
5e47c87ba0
|
Add test for deserializing unit to string
|
2016-12-01 04:46:29 -08:00 |
|
David Tolnay
|
c6d5d9be14
|
Merge pull request #635 from serde-rs/oli-obk-patch-1
Enable deserializing an empty `String` from a unit value
|
2016-12-01 07:46:07 -05:00 |
|
David Tolnay
|
de6d00c306
|
Merge pull request #628 from serde-rs/str
Do not copy tokens to String after expanding
|
2016-11-24 17:33:19 -05:00 |
|
David Tolnay
|
5bda95ba81
|
Do not copy tokens to String after expanding
|
2016-11-24 13:07:47 -08:00 |
|
David Tolnay
|
36641e7b81
|
Release 0.8.19
|
2016-11-23 09:14:03 -08:00 |
|
David Tolnay
|
6eca34c45c
|
Drop libsyntax
|
2016-11-23 09:13:21 -08:00 |
|
David Tolnay
|
7efa0153b0
|
Drop testing on rust 1.10
|
2016-11-19 15:24:40 -08:00 |
|
David Tolnay
|
8dba87661b
|
Bump serde_codegen_internals because it failed to publish somehow
|
2016-11-19 11:47:19 -08:00 |
|
David Tolnay
|
17fb4cb503
|
Release 0.8.18
|
2016-11-19 11:40:00 -08:00 |
|
David Tolnay
|
5bd0386b8e
|
Merge pull request #618 from serde-rs/up
Ask proc_macro_derive to ignore serde attributes
|
2016-11-19 14:19:15 -05:00 |
|
David Tolnay
|
8b484c9703
|
Hide the serde_codegen functions from docs
|
2016-11-15 21:37:19 -05:00 |
|
David Tolnay
|
a16f07858b
|
Ask proc_macro_derive to ignore serde attributes
|
2016-11-15 21:29:34 -05:00 |
|
David Tolnay
|
133d117bf4
|
Bump post-expansion dependency
|
2016-11-07 11:16:14 -08:00 |
|
David Tolnay
|
e7f3a80867
|
Update serde codegen to syn 0.10
|
2016-11-02 22:58:55 -07:00 |
|
David Tolnay
|
f8c3d225a3
|
Shorten the syn meta item matches
|
2016-11-02 22:56:27 -07:00 |
|
David Tolnay
|
6d40d9e8ec
|
Update codegen internals to syn 0.10
|
2016-11-02 22:52:20 -07:00 |
|