Commit Graph

1117 Commits

Author SHA1 Message Date
Oliver Schneider
ee4e7413b0
whoops 2016-07-12 15:50:41 +02:00
Oliver Schneider
a6f8bd5aac
nightly 2016-07-12 15:49:41 +02:00
Oliver Schneider
3766633f4a
adjust codegen to work with the revamped map/seq serializer 2016-07-12 15:44:19 +02:00
Dawid Ciężarkiewicz
99038b044e
Eliminate Visitor pattern
Visitor is "pull", while `MapSerializer` and `SeqSerializer`
are "push" like the rest of the API.
2016-07-12 11:46:44 +02:00
David Tolnay
4ec0a7e672 Merge pull request #433 from softprops/add_envy
add envy
2016-07-10 20:59:50 -07:00
softprops
a41dae45a5 add envy 2016-07-10 23:55:32 -04:00
David Tolnay
cb9e1cfb54 Merge pull request #431 from serde-rs/version
Drop support for 1.7.0
2016-07-10 14:40:15 -07:00
David Tolnay
54ce7f2e90
Drop support for 1.7.0 2016-07-10 14:25:17 -07:00
David Tolnay
ddbd139793 Merge pull request #430 from serde-rs/bump
Update syntex to 0.38
2016-07-09 11:51:38 -07:00
David Tolnay
a070de28e2
Update syntex to 0.38 2016-07-09 11:37:01 -07:00
David Tolnay
57aeb26728 Merge pull request #428 from erickt/readme
Rewrite readme to front-load stable rust usage
2016-07-07 20:26:00 -07:00
Erick Tryzelaar
a592828808 Rewrite readme to front-load stable rust usage 2016-07-07 14:31:24 -07:00
David Tolnay
67d86dcc4f Merge pull request #426 from serde-rs/display
impl Display for de::Type
2016-07-07 00:59:17 -07:00
David Tolnay
15764cb955
impl Display for de::Type 2016-07-06 23:33:59 -07:00
David Tolnay
97bc1e08e7
Release 0.7.13 2016-07-05 20:06:10 -07:00
Oliver Schneider
7ffb74f5bb Merge pull request #423 from dtolnay/seq
Close the seq before failing on invalid length
2016-07-05 22:44:52 +02:00
David Tolnay
f25e6d3ea9
Close the seq before failing on invalid length
Equivalent to what 0f9a930 does for maps.
2016-07-05 10:08:36 -07:00
David Tolnay
431cbe48b7 Merge pull request #422 from serde-rs/missing
Close the map before checking for missing fields
2016-07-05 07:11:03 -07:00
Homu
5405ab319d Auto merge of #421 - serde-rs:length, r=oli-obk
Invalid-length when enum seq is too short

Fixes https://github.com/serde-rs/json/issues/96.
2016-07-05 18:27:33 +09:00
David Tolnay
0f9a930c4f
Close the map before checking for missing fields 2016-07-05 01:42:38 -07:00
David Tolnay
1a449bb3d0
Invalid-length when enum seq is too short 2016-07-05 01:35:20 -07:00
David Tolnay
c0e8164792 Merge pull request #418 from serde-rs/expninfo
Record expansion info
2016-07-04 15:22:09 -07:00
David Tolnay
a3a7e4085f
Add run-pass test for expansion info 2016-07-04 15:02:15 -07:00
David Tolnay
149c87d7c2
Record expansion info 2016-07-03 10:53:33 -07:00
David Tolnay
5deba439c3 Merge pull request #417 from serde-rs/bump
Update syntex to 0.37
2016-07-03 08:53:56 -07:00
David Tolnay
d450de1482
Update syntex to 0.37 2016-07-02 20:20:44 -07:00
David Tolnay
47c7387279 Merge pull request #416 from dtolnay/filter
Remove filter no longer necessary for rustc >=1.7
2016-07-01 22:53:45 -07:00
David Tolnay
dc8d209f29
Remove filter no longer necessary for rustc >=1.7 2016-07-01 22:34:15 -07:00
David Tolnay
831802adc8 Merge pull request #407 from dtolnay/internals
Rename serde_item to serde_codegen_internals
2016-06-30 20:06:12 -07:00
David Tolnay
2d5a26dfc0
Rename serde_internals to serde_codegen_internals 2016-06-30 19:53:57 -07:00
David Tolnay
c6b6e2a5d9
Rename serde_item to serde_internals 2016-06-30 19:42:55 -07:00
Oliver Schneider
d1be5ef187 Merge pull request #412 from dtolnay/test
Move Token De/Serializer to serde_test crate
2016-06-29 10:05:36 +02:00
David Tolnay
f531be1524
Turn comments into doc comments 2016-06-29 00:58:33 -07:00
David Tolnay
10b1508d4a
Sync serde_test version with the other crates 2016-06-29 00:17:50 -07:00
David Tolnay
041d5c0842
Make serde_test asserts more consistent 2016-06-28 23:50:19 -07:00
David Tolnay
7d09053bb8
Fix declare_ser_tests to work on old rustc 2016-06-28 23:09:37 -07:00
David Tolnay
8e87926bc2
Round out the Error variants 2016-06-28 22:57:53 -07:00
David Tolnay
d6a462b862
Add serde_test to dev dependencies of serde_macros 2016-06-28 22:50:58 -07:00
David Tolnay
cfc2f9adc0
Remove Error from name of Error variants 2016-06-28 22:49:13 -07:00
David Tolnay
00f94290a6
Add message to CustomError 2016-06-28 22:36:29 -07:00
David Tolnay
093201abfb
Assert tokens are empty after reaching error 2016-06-28 22:23:38 -07:00
David Tolnay
6d64104375
Factor the Token De/Serializer into serde_test 2016-06-28 21:54:51 -07:00
David Tolnay
fb0e62951f
Rename serde_tests to testing 2016-06-28 20:43:59 -07:00
David Tolnay
6ab508a93c
Release 0.7.11 2016-06-23 19:58:31 -07:00
David Tolnay
9f38c2ab59 Merge pull request #409 from knsd/patch-1
Fix typo
2016-06-23 09:52:50 -07:00
Fedor Gogolev
021ce5be88 Fix typo 2016-06-23 20:50:27 +04:00
Homu
f1f8b4622b Auto merge of #402 - erickt:clippy, r=erickt
Update link to clippy lint report
2016-06-23 12:52:36 +09:00
Erick Tryzelaar
1fb2172a25 Merge pull request #405 from erickt/rustup
Version bump the syntex stack
2016-06-22 20:34:15 -07:00
Erick Tryzelaar
5941f1d071 Version bump the syntex stack 2016-06-22 20:19:47 -07:00
Erick Tryzelaar
8d6cc4dfa5 Update link to clippy lint report 2016-06-22 10:13:28 -07:00