David Tolnay
2212bfbf2c
Result needs to be fully qualified
...
Without this:
```
error[E0244]: wrong number of type arguments
--> src/api/accounts.rs:19:10
|
19 | #[derive(Serialize, Deserialize, Debug)]
| ^^^^^^^^^^ expected 1 type arguments, found 2
```
2016-09-07 16:37:26 -07:00
David Tolnay
e85ca8411e
Release 0.8.7
2016-09-05 09:39:27 -07:00
David Tolnay
14446af537
Fix "variable does not need to be mutable" warning
2016-09-02 11:42:33 -07:00
David Tolnay
248d937f9a
Release 0.8.6
2016-09-01 22:06:27 -07:00
David Tolnay
4bb9279074
Bump syntex to 0.43
2016-08-31 12:53:27 -07:00
David Tolnay
d690ffda8d
Release 0.8.4
2016-08-22 11:37:53 -04:00
David Tolnay
5fb73073bd
Release 0.8.3
2016-08-19 13:11:59 -04:00
David Tolnay
621588b258
Revert "Disable clippy until Manishearth/rust-clippy#1174 is fixed"
...
This reverts commit 2bc1d62e50
.
2016-08-19 11:47:31 -04:00
David Tolnay
a732b9bad3
Fix codegen with lifetimes but no type parameters
2016-08-19 11:12:38 -04:00
David Tolnay
2d99a50c27
HTTPS for serde.rs
2016-08-18 17:08:05 -04:00
David Tolnay
2bc1d62e50
Disable clippy until Manishearth/rust-clippy#1174 is fixed
2016-08-18 14:51:25 -04:00
David Tolnay
1796536962
Update syntex to 0.41
2016-08-18 14:33:14 -04:00
David Tolnay
0557a7feac
Point links to docs.serde.rs
2016-08-13 15:01:57 -07:00
David Tolnay
85864e6ccb
Bump remaining versions to 0.8.1
2016-08-11 09:16:29 -07:00
David Tolnay
c4b5a42615
Serialize and Deserialize for std::time::Duration
2016-08-03 19:33:31 -07:00
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