Erick Tryzelaar
9fc9d1b33a
Get rid of syntax::ext::generic from #[derive_deserialize]
2015-03-15 17:47:25 -07:00
Erick Tryzelaar
b9f5d22630
Spring cleaning
2015-03-15 15:31:31 -07:00
Erick Tryzelaar
cbafc83af4
Cleanup palooza
2015-03-15 15:14:57 -07:00
Erick Tryzelaar
b628446768
Cleanup train
2015-03-15 15:04:11 -07:00
Erick Tryzelaar
aacc14ad7b
More cleanup
2015-03-15 14:50:00 -07:00
Erick Tryzelaar
35eb234c41
More aster driven cleanup
2015-03-15 14:31:05 -07:00
Erick Tryzelaar
9972478066
Fix #35 by not relying on the crate being import in the current module
2015-03-15 13:02:34 -07:00
Erick Tryzelaar
00287bd055
Cleanup
2015-03-14 21:47:23 -07:00
Erick Tryzelaar
11f47bd51f
Minor cleanup
2015-03-14 15:20:00 -07:00
Erick Tryzelaar
5e98a83717
Remove redundant bounds
2015-03-14 15:03:41 -07:00
Erick Tryzelaar
008ce75ae5
Replace #[derive_serialize] syntax::ext::deriving::generic with aster
2015-03-14 14:57:05 -07:00
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
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
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
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
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