Erick Tryzelaar
5c62b7ed06
Split serde_macros into multiple files
2015-03-14 13:09:37 -07:00
Erick Tryzelaar
99f4efd313
Merge #[derive_serialize] for structs and struct variants
2015-03-14 12:53:53 -07:00
Erick Tryzelaar
87ff636c10
Fix some warnings
2015-03-14 12:03:53 -07:00
Erick Tryzelaar
d2bd361d9c
Merge #[derive_serialize] backend for serializing tuple structs and variants
2015-03-14 12:02:21 -07:00
Erick Tryzelaar
5a32d420cd
More cleanup
2015-03-14 00:47:10 -07:00
Erick Tryzelaar
a3b2f00c92
More cleanup
2015-03-14 00:08:23 -07:00
Erick Tryzelaar
13fcf1ad5b
More cleanup
2015-03-14 00:04:25 -07:00
Erick Tryzelaar
8cb2ff6e2e
Fix multiple unnamed enum seq/map variants
...
Closes #32 .
2015-03-13 23:44:18 -07:00
Erick Tryzelaar
c917941ec3
More cleanup
2015-03-13 23:43:21 -07:00
Erick Tryzelaar
f699d29fb3
More cleanup
2015-03-13 23:38:12 -07:00
Erick Tryzelaar
6723097a3f
More cleanup
2015-03-13 23:26:38 -07:00
Erick Tryzelaar
80e27344f1
More cleanup
2015-03-13 23:17:44 -07:00
Erick Tryzelaar
f244e0f522
More cleanup
2015-03-13 23:11:05 -07:00
Erick Tryzelaar
61317f5935
Replace some aster with quasi in serde_macros
2015-03-13 22:46:21 -07:00
Erick Tryzelaar
9ca1e2a8f7
Bump aster and quasi
2015-03-13 19:37:01 -07:00
Erick Tryzelaar
aedd5f57cf
Split json compact and pretty serializer. Recover 20MB/s
2015-03-12 21:15:47 -07:00
Erick Tryzelaar
dc87288f48
Allow json missing fields to be treated as a null
...
Closes #34 .
2015-03-12 20:44:16 -07:00
Erick Tryzelaar
5dd53e7ea3
Change ser::{Seq,Map}Visitor to return an optional exact length
...
This is necessary for formats that serialize the length in the
format stream. Those formats need the exact length, so the
iterator-style size_hint has the wrong semantics.
2015-03-12 19:40:46 -07:00
Erick Tryzelaar
9e454a243a
Rename Serialize::visit to Serialize::serialize
2015-03-12 07:33:34 -07:00
Erick Tryzelaar
3f62b6d2bf
Merge ser::Serializer and ser::Visitor
2015-03-11 11:05:46 -07:00
Erick Tryzelaar
fbd6d1974a
Remove the unused Serializer::Value associated type
2015-03-11 10:15:27 -07:00
Erick Tryzelaar
5d22be26d8
Fixed the description
2015-03-08 23:12:33 -07:00
Erick Tryzelaar
28f43993f2
Add cargo metadata
2015-03-08 23:02:44 -07:00
Erick Tryzelaar
e798108785
Bump quasi and aster dependencies
2015-03-08 22:59:25 -07:00
Erick Tryzelaar
805a3435cf
Replace serde1 with serde2!
...
Closes #26 !
2015-03-08 22:56:33 -07:00
Erick Tryzelaar
6726bd12ae
Port the rest of the benchmarks to serde2
2015-03-08 22:38:01 -07:00
Erick Tryzelaar
e892d9e935
Silence a warning
2015-03-08 19:08:43 -07:00
Erick Tryzelaar
1cda1f71a7
Implement #[derive_deserialize] for generic enums
2015-03-08 19:07:23 -07:00
Erick Tryzelaar
419f34c665
Fix #[derive_deserialize] for generic structs
2015-03-08 18:46:41 -07:00
Erick Tryzelaar
cdb3ed30ab
Even more to aster
2015-03-08 18:33:23 -07:00
Erick Tryzelaar
2e8c70b833
Port more to aster
2015-03-08 12:56:59 -07:00
Erick Tryzelaar
9134cff155
#[derive_deserialize] for generic tuple structs
2015-03-08 11:39:20 -07:00
Erick Tryzelaar
8bcdd7afe8
Compile on HEAD
2015-03-08 11:05:01 -07:00
Erick Tryzelaar
21e6d3163f
Add test for deserializing named units
2015-03-07 21:40:53 -08:00
Erick Tryzelaar
6e51195930
Switch to aster
2015-03-07 21:01:51 -08:00
Erick Tryzelaar
2a6c836682
Switch to using quasi
2015-03-07 19:30:41 -08:00
Erick Tryzelaar
d9f78e3112
Clean up dead code
2015-03-07 19:30:25 -08:00
Erick Tryzelaar
4a83639b33
Port more over to ast-builder
2015-03-07 15:08:44 -08:00
Erick Tryzelaar
124a306cd7
Fix #[derive_serialize] for generic structs
2015-03-06 22:14:13 -08:00
Erick Tryzelaar
a565df9cf7
Fix #[derive_serialize] for tuple structs
2015-03-06 19:11:47 -08:00
Erick Tryzelaar
6b7aa269b8
Implement impls for std::path::Path{,Buf}
...
Closes #28 .
2015-03-05 22:39:35 -08:00
Erick Tryzelaar
776e6448a2
Merge pull request #27 from hugoduncan/fix_unqualified_de
...
Fix plugin use of de::SeqVisitor
2015-03-05 22:21:19 -08:00
Erick Tryzelaar
00b502a6d2
Add a json pretty printer
2015-03-05 22:16:11 -08:00
Erick Tryzelaar
58761d3d19
Convert over to where clauses
2015-03-05 20:07:40 -08:00
Erick Tryzelaar
9db40b008f
Add tests and remove dead comments
2015-03-05 20:06:03 -08:00
Erick Tryzelaar
ab9494c42b
Add a .gitignore to serde2_macros
2015-03-05 19:51:00 -08:00
Erick Tryzelaar
2ee5a416ad
Factor out the remaining json tests into tests/
2015-03-05 19:49:17 -08:00
Erick Tryzelaar
5c06137499
Silence a warning
2015-03-05 19:17:23 -08:00
Erick Tryzelaar
ddfaf9d177
Add Deserializer::visit_enum to help json enum deserialization
2015-03-05 19:17:18 -08:00
Erick Tryzelaar
1b632cea9c
Remove unnecessary inlines
2015-03-05 07:35:55 -08:00