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
|
d914fdf67b
|
Macros 1.1
|
2016-08-28 22:21:25 -07:00 |
|
David Tolnay
|
85f1bf0259
|
Enum deserialization API
|
2016-08-23 22:17:28 -04:00 |
|
David Tolnay
|
0ae61a3dd1
|
Switch to syntex::with_extra_stack
|
2016-08-19 21:09:55 -04:00 |
|
David Tolnay
|
a732b9bad3
|
Fix codegen with lifetimes but no type parameters
|
2016-08-19 11:12:38 -04:00 |
|
David Tolnay
|
dba1377d1f
|
Set RUST_MIN_STACK if unset
|
2016-08-18 13:55:58 -04: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
|
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
|
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 |
|
Oliver Schneider
|
42c41922ce
|
adjust tests for new interface
|
2016-07-15 12:59:30 +02: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
|
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 |
|
David Tolnay
|
c6b6e2a5d9
|
Rename serde_item to serde_internals
|
2016-06-30 19:42:55 -07:00 |
|
Erick Tryzelaar
|
5941f1d071
|
Version bump the syntex stack
|
2016-06-22 20:19:47 -07:00 |
|
David Tolnay
|
5c6a0e12e9
|
Factor attr parsing into serde_item crate
|
2016-06-19 20:15:49 -07:00 |
|
David Tolnay
|
882d130e19
|
Test duplicates within a single attribute
|
2016-06-16 23:45:34 -07:00 |
|
David Tolnay
|
5f84e601b6
|
Add explanation of ignored errors in attr.rs
|
2016-06-16 23:25:46 -07:00 |
|
David Tolnay
|
ac69524258
|
Gather attrs at the beginning
|
2016-06-15 02:38:47 -07:00 |
|
David Tolnay
|
28589620f6
|
Error on duplicate attributes
|
2016-06-14 20:39:21 -07:00 |
|
David Tolnay
|
c21bea8b30
|
Better error when deriving Deserialize for struct containing &str
|
2016-06-11 21:32:53 -07:00 |
|
David Tolnay
|
3119cc8857
|
Simplify implementation of #[serde(default=...)]
|
2016-06-09 23:21:42 -07:00 |
|
David Tolnay
|
c716c4e261
|
Use AsRef to accept paths in serde_codegen::expand
|
2016-06-09 11:23:43 -07:00 |
|
David Tolnay
|
3d2e3beafe
|
Add serde_codegen::expand to avoid public Syntex dependency
|
2016-06-09 11:23:43 -07:00 |
|
Homu
|
bf33daf124
|
Auto merge of #354 - dtolnay:attr, r=oli-obk
Fix attributes canceling each other
Fixes #353.
|
2016-06-06 18:08:20 +09:00 |
|
David Tolnay
|
bdffaf3ea1
|
Re-enable clippy lint "useless_let_if_seq"
This reverts commit 4e6cd2d63f.
|
2016-06-05 13:01:22 -07:00 |
|
David Tolnay
|
01dfad6705
|
Fix attributes canceling each other
|
2016-06-05 11:40:30 -07:00 |
|
David Tolnay
|
2e06786262
|
Remove unnecessary clones
|
2016-06-05 11:23:01 -07:00 |
|
David Tolnay
|
578f34ecaf
|
Use "bound" attribute instead of "where"
|
2016-06-05 11:17:43 -07:00 |
|