David Tolnay
9fe16767c5
Use iter::repeat to build phantom exprs
2016-09-28 08:57:53 -07:00
David Tolnay
effa298871
Fix differences in the generated code
2016-09-27 09:56:35 -07:00
David Tolnay
7d09b1475c
Fix clippy lints in serde_codegen
2016-09-27 00:46:03 -07:00
David Tolnay
0c18c151e2
Revamp serde_codegen_internals error handling
2016-09-27 00:11:37 -07:00
David Tolnay
4ad6c4fd56
Include unknown attribute name in error message
2016-09-27 00:02:15 -07:00
David Tolnay
8ee8c07090
Mark all serde attributes as used
2016-09-26 23:17:43 -07:00
David Tolnay
8e77960e3a
Remove with-libsyntax feature
2016-09-26 23:17:33 -07:00
David Tolnay
8e865f62c4
Fix conflicts with the __serde_state commit
2016-09-26 22:13:53 -07:00
David Tolnay
6cbf0d32da
Merge branch origin/master into origin/syn
...
Conflicts:
serde_codegen/src/ser.rs
2016-09-26 22:11:14 -07:00
Erick Tryzelaar
f47a50e996
Make serde state variable unique by naming it __serde_state
...
Closes #557
2016-09-26 21:44:30 -07:00
David Tolnay
1eca7766ba
Bump syn dependency
2016-09-24 09:54:10 -07:00
David Tolnay
51f95575ec
Merge branch origin/master into origin/syn
...
Conflicts:
serde_codegen/Cargo.toml
serde_codegen_internals/Cargo.toml
serde_derive/Cargo.toml
2016-09-24 09:29:21 -07:00
Oliver Schneider
429de89276
Release 0.8.9
2016-09-23 07:11:59 -07:00
David Tolnay
a69b82c7c5
Recursion limit
2016-09-12 01:26:47 -07:00
David Tolnay
55e5f19437
Same for deserialization
2016-09-12 00:50:30 -07:00
David Tolnay
c34baa1e5f
No more syntex for serde_derive
2016-09-11 19:55:13 -07:00
David Tolnay
7cc36a9cd3
Release 0.8.8
2016-09-08 08:34:20 -07:00
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
Homu
1ff2053262
Auto merge of #536 - serde-rs:mutempty, r=oli-obk
...
Fix "variable does not need to be mutable" warning
Fixes #534 .
cc @EliDupree
2016-09-06 01:10:43 +09:00
David Tolnay
e03dedabe4
Use peekable iterator to check for nonzero serialized fields
2016-09-05 08:22:17 -07: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
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
d914fdf67b
Macros 1.1
2016-08-28 22:21:25 -07: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 2bc1d62e50b799e06b51742a8490b546395e04ec.
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