Commit Graph

188 Commits

Author SHA1 Message Date
Erick Tryzelaar
805a3435cf Replace serde1 with serde2!
Closes #26!
2015-03-08 22:56:33 -07:00
Erick Tryzelaar
c327eb50fd get serde to compile 2015-02-15 22:03:32 -08:00
Erick Tryzelaar
4dccf8cdec Clean up warnings in serde 2015-02-13 10:26:13 -08:00
Erick Tryzelaar
b70d77b5c9 Cleanup code, fix some incompatibilites with rust head 2015-02-13 09:40:47 -08:00
Thomas Bahn
81f84a4ea4 Remove unneeded mut specifiers 2015-02-06 22:23:16 +01:00
Thomas Bahn
5dd077969c Use slicing syntax instead of .as_slice() 2015-02-06 22:23:16 +01:00
Thomas Bahn
3022d7301a Use deref coercions when possible 2015-02-06 22:23:15 +01:00
Thomas Bahn
3b5d71fbb5 Add empty associated_types in expand_derive 2015-02-06 16:51:11 +01:00
Dan Burkert
460dbce8cc Update for rustc 1.0.0-nightly (8903c21d6 2015-01-15 22:42:58 +0000) 2015-01-17 16:36:15 -08:00
Erick Tryzelaar
8715a41158 Update to rust HEAD 2015-01-07 09:30:11 -08:00
Erick Tryzelaar
b98719a4a0 update to rust HEAD, switch to rustc_serialize 2015-01-04 17:18:50 -08:00
Thomas Bahn
d09b9eb72c Unboxed closures: function signature of expand* changed 2015-01-02 13:32:54 +01:00
Thomas Bahn
ae665a1c05 Syntax extension internals in rust changed
See e656081b70
2015-01-01 14:22:23 +01:00
Erick Tryzelaar
29242ee6a6 update to rust head 2014-12-17 23:00:05 -08:00
Erick Tryzelaar
246396fdb4 update to rust HEAD, fix the tests 2014-12-13 16:55:42 -08:00
Erick Tryzelaar
857723dff6 Fix serde to compile on master again 2014-11-22 16:27:01 -08:00
Erick Tryzelaar
21a58e86e4 Rename Serializable to Serialize, Deserializable to Deserialize 2014-11-13 07:54:44 -08:00
Erick Tryzelaar
23f3173ded update to rust HEAD 2014-11-03 12:58:36 -08:00
Erick Tryzelaar
475fd50564 rewrite deserialization to allow for copy-less struct fields 2014-10-23 10:26:52 -07:00
kvark
bfd1fb0ee9 Fixed String and Option conflicts for the latest Rust 2014-09-29 21:50:24 -04:00
kvark
e4916fc4c5 Updated macros to use P instead of Gc 2014-09-15 23:01:45 -04:00
kvark
2224e9afdf Fixed the struct map interaction with serial_name. Added a separarte JSON test for serial_name. 2014-09-07 10:43:15 -04:00
kvark
b3ac319530 Implemented serializer support for serial_name attribute 2014-09-07 09:55:27 -04:00
kvark
394d0e987c Implemented serial_name attribute 2014-09-07 09:55:27 -04:00
Erick Tryzelaar
3a6eb83da6 typarameterize Serializer 2014-09-01 13:14:52 -07:00
Erick Tryzelaar
a24075559f Move the Deserializer typarams onto from the method to the Deserializable trait 2014-08-19 15:18:47 -07:00
Erick Tryzelaar
aff53e8dd4 allow the deserializer to optionally handle missing fields
This allows json to deserialize missing values as a `null`.
2014-08-18 07:40:36 -07:00
Erick Tryzelaar
c6d28afb6f add a "ignore_field" handler when a deserializable is skipping a field 2014-08-18 07:40:15 -07:00
Erick Tryzelaar
6cd71e3e1d deserializing from maps should ignore unknown values 2014-08-15 09:02:30 -07:00
Erick Tryzelaar
98aa2e7884 Flesh out error handling 2014-08-06 22:24:06 -04:00
Erick Tryzelaar
005b124cd3 simplify error reporting 2014-08-05 23:02:15 -04:00
Erick Tryzelaar
d689bc8b85 initial support for more full error messages 2014-08-03 12:35:15 -07:00
Erick Tryzelaar
d68710ea09 fix improper deserializing structs-as-maps 2014-08-02 15:39:16 -07:00
Erick Tryzelaar
9278f26ac2 More simplifications 2014-07-27 21:13:27 -07:00
Erick Tryzelaar
7200be09e1 more simplification 2014-07-27 21:07:01 -07:00
Erick Tryzelaar
14d97f9c26 Cleaning up #[deriving_deserializable] 2014-07-27 20:16:18 -07:00
Erick Tryzelaar
04e2528a29 Initial support for #[deriving_deserializable] deserializing from maps 2014-07-27 18:33:16 -07:00
Erick Tryzelaar
4077d83cf2 Migrate over to cargo 2014-07-18 06:17:47 -07:00