Commit Graph

1427 Commits

Author SHA1 Message Date
Homu
5a258ade27 Auto merge of #527 - serde-rs:seqvisitor, r=oli-obk
Impl SeqVisitor for MapDeserializer

@nox is this what you were trying to implement?
2016-09-05 20:09:44 +09:00
Homu
f3052c392e Auto merge of #538 - serde-rs:notfalse, r=oli-obk
Remove `if !false { ... }` from generated serialization code

I don't think this negatively affects maintainability of the code in serde_codegen and I think there is some value in keeping our generated code relatively clear so that people can use it as a template when implementing Serialize manually with minor modifications.
2016-09-05 19:52:43 +09:00
David Tolnay
d1ce4d62c9 Change to expression so that syntex keeps the semicolon 2016-09-02 18:07:26 -07:00
David Tolnay
869ebd9e4e Remove if !false { ... } from generated serialization code 2016-09-02 17:22:58 -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
ffa2f80186 Merge pull request #530 from serde-rs/derive
Macros 1.1
2016-09-01 21:59:32 -07:00
David Tolnay
ac1128a647
Update serde_derive to 0.8.5 2016-09-01 21:28:58 -07:00
David Tolnay
88d845c4d1
Include! test suite for serde_derive 2016-09-01 21:28:40 -07:00
David Tolnay
87a402a751
Remove rustc_macro test crate 2016-09-01 11:17:35 -07:00
David Tolnay
cdb0e6c899
Remove build script in favor of rust-lang/cargo#3064 2016-08-31 21:05:40 -07:00
David Tolnay
54cee86fd3
Bump to 0.8.5 2016-08-31 20:14:44 -07:00
David Tolnay
178edd1abc
Merge branch origin/master into origin/derive 2016-08-31 20:12:46 -07:00
David Tolnay
4bb9279074
Bump syntex to 0.43 2016-08-31 12:53:27 -07:00
David Tolnay
3c45e5c7a5
Next iteration 2016-08-30 23:55:08 -07:00
David Tolnay
d36f28971c
Support no_std in forward_to_deserialize macro 2016-08-29 00:27:11 -07:00
David Tolnay
d914fdf67b
Macros 1.1 2016-08-28 22:21:25 -07:00
David Tolnay
7014c105b4
Remove coverage shield 2016-08-28 08:39:53 -07:00
David Tolnay
f3d566af09
Remove clippy shield 2016-08-28 08:37:55 -07:00
David Tolnay
278e8eb720
Add deserialize_seq methods to MapDeserializer 2016-08-25 10:45:25 -04:00
David Tolnay
e9b04de9a5
Impl SeqVisitor for MapDeserializer 2016-08-25 10:12:23 -04:00
David Tolnay
2a2891d54b
Expose forward_to_deserialize macro 2016-08-24 00:16:22 -04:00
David Tolnay
85f1bf0259
Enum deserialization API 2016-08-23 22:17:28 -04:00
David Tolnay
123e040189 Merge pull request #524 from serde-rs/skeptic
Remove skeptic
2016-08-23 22:17:13 -04:00
David Tolnay
6f0f273d9c
Remove skeptic 2016-08-23 22:04:50 -04:00
David Tolnay
fb7ba225d1
Add constructors for Bytes and ByteBuf
This commit adds `Bytes::new(&[u8])` and `ByteBuf::from<T: Into<Vec<u8>>>(T)`.
2016-08-23 16:24:00 -04:00
David Tolnay
d690ffda8d
Release 0.8.4 2016-08-22 11:37:53 -04:00
David Tolnay
18a775277f Merge pull request #514 from nox/maps
Introduce MapDeserializer::unbounded (fixes #512)
2016-08-22 09:05:50 -04:00
Anthony Ramine
fbb250766d Introduce MapDeserializer::unbounded (fixes #512) 2016-08-22 09:11:10 +02:00
David Tolnay
71116b860a Merge pull request #513 from nox/cow
Implement ValueDeserializer for Cow<str>
2016-08-21 14:07:56 -04:00
Anthony Ramine
ce3f134145 Implement ValueDeserializer for Cow<str> 2016-08-21 19:52:13 +02:00
David Tolnay
80507d650c Merge pull request #511 from serde-rs/extra
Switch to syntex::with_extra_stack
2016-08-19 21:27:17 -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
63d484d50c Merge pull request #510 from serde-rs/clippy
Re-enable clippy
2016-08-19 13:01:24 -04:00
David Tolnay
f3f29f81bc
Fix new lints 2016-08-19 12:46:45 -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
Homu
7aba920dec Auto merge of #509 - serde-rs:cow, r=oli-obk
Fix codegen with lifetimes but no type parameters

Fixes #507.
2016-08-20 00:16:54 +09:00
David Tolnay
a732b9bad3
Fix codegen with lifetimes but no type parameters 2016-08-19 11:12:38 -04:00
Oliver Schneider
6723da67b3 Merge pull request #506 from serde-rs/https
HTTPS for serde.rs
2016-08-19 10:57:52 +02:00
David Tolnay
2d99a50c27
HTTPS for serde.rs 2016-08-18 17:08:05 -04:00
David Tolnay
01f6115d73 Merge pull request #503 from serde-rs/stack
Set RUST_MIN_STACK if unset
2016-08-18 16:09:09 -04:00
David Tolnay
a4eb9d5788 Merge pull request #499 from serde-rs/ord
Simplify BTreeMapVisitor trait bounds
2016-08-18 15:44:03 -04:00
David Tolnay
6f77ea58fd
Merge branch origin/master into origin/stack 2016-08-18 15:26:14 -04:00
David Tolnay
2cb55e8cb9
Merge branch origin/master into origin/ord 2016-08-18 15:25:47 -04:00
David Tolnay
671f5ebd07
Path override to prevent compiletest from seeing 2 versions of serde 2016-08-18 15:05:07 -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
ce66b230e3 Merge pull request #502 from serde-rs/help
Getting help
2016-08-18 17:08:30 +02:00