David Tolnay
f12f640590
Release 0.8.0
2016-07-27 22:07:57 -07:00
Steven Fackler
ea833d3427
Split serialize_map_elt
...
Like what's been done on the deserialization side with MapVisitor, this
allows some weirder uses of Serde to handle the key and value in
separate steps.
2016-07-27 12:12:07 -07:00
David Tolnay
78e74886be
Update syntex to 0.39
2016-07-26 09:22:33 -07:00
David Tolnay
e36f33589c
Release 0.8.0-rc3
2016-07-23 15:13:19 -07:00
David Tolnay
3b7fa47b2e
PhantomData<T> does not require bounds on T
2016-07-22 09:05:43 -07:00
David Tolnay
fb6fc4e19f
Add tests for concrete instantiations in test_gen
2016-07-22 08:49:51 -07:00
David Tolnay
85772726ee
Merge pull request #456 from serde-rs/generic
...
Generate bounds on type parameters only
2016-07-22 07:58:56 -07:00
David Tolnay
25a5dd1579
Impl Deserialize for PhantomData<T> for all T
2016-07-21 23:22:38 -07:00
David Tolnay
1831b471f9
Generate bounds on type parameters only
2016-07-21 23:06:18 -07:00
Oliver Schneider
124bacd871
fix for 1.8, 1.9 and stable
2016-07-21 10:11:04 +02:00
Oliver Schneider
4280dd466d
rename deserialize_fixed_size_array to deserialize_seq_fixed_size
2016-07-20 19:20:31 +02:00
Oliver Schneider
36a7bf6244
make Deserializer
pure
2016-07-20 10:26:31 +02:00
David Tolnay
13e1a129dd
Ignore unused struct in test_gen.rs
2016-07-17 21:10:05 -07:00
David Tolnay
334a6e788a
Remove commented code in test_macros.rs
2016-07-17 21:09:44 -07:00
David Tolnay
aaca4f06c6
Release 0.8.0-rc2
2016-07-17 18:07:40 -07:00
David Tolnay
cc8a5a79ab
See whether relative paths help cargo find the unstable-testing feature
2016-07-17 13:40:39 -07:00
David Tolnay
4f79829849
Rename feature nightly-testing to unstable-testing
2016-07-17 13:34:23 -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
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
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
Oliver Schneider
16ba32dbe1
stateful map/seq serialization
2016-07-14 15:36:47 +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
3766633f4a
adjust codegen to work with the revamped map/seq serializer
2016-07-12 15:44:19 +02:00
David Tolnay
a070de28e2
Update syntex to 0.38
2016-07-09 11:37:01 -07:00
David Tolnay
97bc1e08e7
Release 0.7.13
2016-07-05 20:06:10 -07:00
David Tolnay
1a449bb3d0
Invalid-length when enum seq is too short
2016-07-05 01:35:20 -07:00
David Tolnay
d450de1482
Update syntex to 0.37
2016-07-02 20:20:44 -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
cfc2f9adc0
Remove Error from name of Error variants
2016-06-28 22:49:13 -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