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
Hugo Duncan
3c4eddc7f8
Fix plugin use of de::SeqVisitor
...
When compiling a module with a struct containing a derive_deserialize
annotation, the compiler was complaining "Use of undeclared type or
module `de`".
2015-03-04 17:40:45 -05:00
Erick Tryzelaar
e7ce710da5
Fix parsing json into optional types
...
Does not yet handle parsing missing values as `None` yet though.
Closes #25 .
2015-03-04 09:45:11 -08:00
Erick Tryzelaar
e9f356755f
Add json value deserializer
2015-03-04 09:45:11 -08:00
Erick Tryzelaar
cd3cad8ef5
Fix serializing json enums
2015-03-04 09:45:11 -08:00
Erick Tryzelaar
4b2354597d
Start fixing the json tests
2015-03-04 09:44:56 -08:00
Erick Tryzelaar
6685d76e2c
Initial switch to syntax_ast_builder
2015-03-04 07:07:04 -08:00
Erick Tryzelaar
b2f52df5ff
Fix serializing json objects
2015-03-03 21:55:48 -08:00
Erick Tryzelaar
6382441f2e
Rename the json tests
2015-03-03 21:47:42 -08:00
Erick Tryzelaar
189b3f0394
Add test for #[derive_serialize] for structs
2015-03-03 21:42:33 -08:00
Erick Tryzelaar
4db8b732f1
Simplify test_de
2015-03-03 21:35:49 -08:00
Erick Tryzelaar
37bc3e9df3
Fix #[derive_deserialize] for deserializing empty sequences named units
2015-03-03 21:33:51 -08:00
Erick Tryzelaar
79a7bc9bf2
convert to where clauses
2015-03-03 21:27:07 -08:00
Erick Tryzelaar
098cd335ce
Factor de tests into it's own file
2015-03-03 21:19:55 -08:00
Erick Tryzelaar
7a170e1b2c
Fix #[derive_serialize] for enum struct variants
2015-03-03 21:17:40 -08:00
Erick Tryzelaar
fe64145c06
Fix #[derive_serialize] for tuple structs
2015-03-03 21:14:43 -08:00
Erick Tryzelaar
61fdcb0611
Add the json tests
2015-03-03 20:33:25 -08:00
Erick Tryzelaar
b5314aac11
Factor the ser tests into it's own module
2015-03-03 20:33:17 -08:00
Erick Tryzelaar
4ff4165da6
Fix serializing named units
2015-03-03 20:29:59 -08:00
Erick Tryzelaar
ecc19bdbdb
Convert over to where clauses
2015-03-03 19:34:16 -08:00
Erick Tryzelaar
033b039284
Merge commit 'c5a35e388ca2ab34937b654c09129b05d91982dc'
...
# Conflicts:
# serde2/serde2_macros/src/lib.rs
2015-03-03 17:55:18 -08:00
Erick Tryzelaar
1182ad0223
Fix tests, make Deserializer::visit take a value not a reference
2015-03-03 11:09:09 -08:00