Commit Graph

1289 Commits

Author SHA1 Message Date
David Tolnay
e404de85b2
Remove serde-syntex-example from travis until serde_json 0.8.0 2016-07-17 12:59:04 -07:00
David Tolnay
6fe01bc8e3
Release 0.8.0-rc1
This prerelease contains the Serializer API changes intended for 0.8.0. It
allows us to start merging PRs that use the new API.
2016-07-17 11:46:03 -07:00
David Tolnay
855f3d99bb Do not release any more 0.7 releases from master 2016-07-15 17:00:09 -07:00
David Tolnay
9d015a2942 Merge pull request #437 from oli-obk/map_seq_ser
Revamp Map/Seq serialization
2016-07-15 16:59:45 -07:00
Oliver Schneider
42c41922ce
adjust tests for new interface 2016-07-15 12:59:30 +02:00
Oliver Schneider
984181c558
Merge remote-tracking branch 'serde/master' into map_seq_ser 2016-07-15 10:59:46 +02:00
David Tolnay
ed603d4580 Merge pull request #442 from serde-rs/override
Use cargo override instead of relative paths
2016-07-15 01:56:14 -07:00
Oliver Schneider
70c83768b7 Merge pull request #1 from serde-rs/dtolnay/serializer
David's take on Serializer
2016-07-15 10:38:22 +02:00
David Tolnay
7220029055
Use cargo override instead of relative paths
This makes it possible to use `cargo clone` + `cargo build`.
2016-07-15 01:17:23 -07:00
David Tolnay
35676305da Merge pull request #401 from erickt/contributing
Add a contribution guide
2016-07-15 01:06:54 -07:00
David Tolnay
fbad194042
Restore 'static requirement for names 2016-07-15 00:59:56 -07:00
David Tolnay
2e4cc0b443
Restore serialize_seq_fixed_size 2016-07-15 00:58:48 -07:00
David Tolnay
9217517532
Update impls 2016-07-15 00:55:38 -07:00
David Tolnay
0feeb7a341
David's take on Serializer 2016-07-15 00:01:31 -07:00
Oliver Schneider
2901344722
this time really fix ranges 2016-07-14 16:16:20 +02:00
Oliver Schneider
54c80ad677
fix range serialization 2016-07-14 15:37:05 +02:00
Oliver Schneider
16ba32dbe1
stateful map/seq serialization 2016-07-14 15:36:47 +02:00
Oliver Schneider
60938913b2
face -> palm 2016-07-13 19:18:01 +02:00
Oliver Schneider
26528fbbb4
silence lint about a: ref a patterns 2016-07-12 16:53:38 +02:00
Oliver Schneider
6adcaa55e5
json needs more info 2016-07-12 16:53:20 +02:00
Oliver Schneider
fb575225bc
simplify! 2016-07-12 16:16:48 +02:00
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