Commit Graph

1922 Commits

Author SHA1 Message Date
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
David Tolnay
7a0e8f73b4
Remove the Deserialize trait bound on Visitor::Value 2017-01-03 01:50:10 -08:00
Erick Tryzelaar
b6e8b58cb2 Stop testing on 1.11 2017-01-02 14:59:00 -08:00
Oliver Schneider
a3f556959f Merge pull request #652 from serde-rs/bbstr
Support deserializing ByteBuf from string
2016-12-25 01:09:15 +01: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
Shing Lyu
2fea8c9c28 Implement skip_serializing for enum variant 2016-12-24 22:34:22 +08: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
Shing Lyu
95ffca9bbe Implemented skip_deserializing for enum 2016-12-16 20:29:21 +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
Oliver Schneider
d63d09f4db Enable deserializing an empty String from a unit value 2016-12-01 11:23:12 +01: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