Commit Graph

240 Commits

Author SHA1 Message Date
David Tolnay
85f1bf0259
Enum deserialization API 2016-08-23 22:17:28 -04:00
David Tolnay
d690ffda8d
Release 0.8.4 2016-08-22 11:37:53 -04:00
David Tolnay
0ae61a3dd1
Switch to syntex::with_extra_stack 2016-08-19 21:09:55 -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
6f77ea58fd
Merge branch origin/master into origin/stack 2016-08-18 15:26:14 -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
dba1377d1f
Set RUST_MIN_STACK if unset 2016-08-18 13:55:58 -04:00
Oliver Schneider
b7446db511
reintroduce path dependencies 2016-08-11 11:02:19 +02:00
Oliver Schneider
8bd7acc9fc
use a thread in the build script of serde_codegen to allow env vars to control the stack size 2016-08-09 13:08:16 +02:00
Homu
d120539310 Auto merge of #478 - serde-rs:visitor, r=oli-obk
Simplify generated visitors

Neither `__FieldVisitor` nor `__Visitor` need the `__D: Deserializer` type parameter.
2016-08-08 19:52:36 +09:00
Oliver Schneider
1c55f58093 Merge pull request #479 from serde-rs/nestser
Remove unnecessary nesting from generated impls
2016-08-04 09:08:59 +02:00
David Tolnay
c539563687
Remove unnecessary nesting fron generated Deserialize implementations 2016-08-03 21:08:17 -07:00
David Tolnay
69de46f9e0
Remove unnecessary nesting from generated Serialize implementations 2016-08-03 20:40:57 -07:00
David Tolnay
d5102a7afd
Simplify generated visitors 2016-08-03 19:56:47 -07:00
David Tolnay
d0502b93ef
Fix clippy lint about looping over iter() 2016-08-03 19:32:51 -07:00
David Tolnay
d786de6696 Use exact dependencies on other serde crates 2016-07-29 15:12:54 -07:00
David Tolnay
f12f640590
Release 0.8.0 2016-07-27 22:07:57 -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
Oliver Schneider
f05ba9fdf2
unhygienize the generic parameter comparison
include! completely messes up the identifiers' expansion info
2016-07-22 14:09:14 +02:00
David Tolnay
1831b471f9
Generate bounds on type parameters only 2016-07-21 23:06:18 -07:00
David Tolnay
aaca4f06c6
Release 0.8.0-rc2 2016-07-17 18:07:40 -07:00
David Tolnay
4f79829849
Rename feature nightly-testing to unstable-testing 2016-07-17 13:34:23 -07:00
David Tolnay
8d06f36d71
Remove public dependency on Syntex 2016-07-17 13:00:39 -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
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
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
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
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
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
149c87d7c2
Record expansion info 2016-07-03 10:53:33 -07:00
David Tolnay
d450de1482
Update syntex to 0.37 2016-07-02 20:20:44 -07:00
David Tolnay
dc8d209f29
Remove filter no longer necessary for rustc >=1.7 2016-07-01 22:34:15 -07:00
David Tolnay
2d5a26dfc0
Rename serde_internals to serde_codegen_internals 2016-06-30 19:53:57 -07:00