Commit Graph

1137 Commits

Author SHA1 Message Date
Erick Tryzelaar
475fd50564 rewrite deserialization to allow for copy-less struct fields 2014-10-23 10:26:52 -07:00
Erick Tryzelaar
292a820e3a silence some warnings 2014-10-23 10:26:52 -07:00
Erick Tryzelaar
0b8324ae09 Fix serde2 macro generation 2014-10-23 10:26:52 -07:00
Erick Tryzelaar
f614fb6667 Fix compiling bench_log 2014-10-23 10:26:52 -07:00
Erick Tryzelaar
2a40b4e810 Fix compiling json 2014-10-23 10:26:52 -07:00
Erick Tryzelaar
b62bb24751 Inline the visitor 2014-10-23 10:26:43 -07:00
Erick Tryzelaar
6c98a3b739 Thread a visitor through the serializers 2014-10-13 20:43:20 -07:00
Erick Tryzelaar
1c3a42ea56 Serialization should have an error type 2014-10-11 11:05:24 -07:00
Erick Tryzelaar
7b669ac4c0 Minor cleanup 2014-10-11 10:52:14 -07:00
Erick Tryzelaar
bb360a4774 renaming to align with de 2014-10-10 18:20:08 -07:00
Erick Tryzelaar
671864eef4 Support parsing json with tests 2014-10-08 21:25:01 -07:00
Erick Tryzelaar
2c50039c13 rename de2.rs to de.rs 2014-10-06 21:55:33 -07:00
Erick Tryzelaar
150ec0d2d7 Remove commented out code 2014-10-06 21:52:19 -07:00
Erick Tryzelaar
538fcf244f fix the remaining warnings 2014-10-06 21:50:22 -07:00
Erick Tryzelaar
da34268be1 Fix some lints 2014-10-06 21:44:01 -07:00
Erick Tryzelaar
35edf06a46 Merge remote-tracking branch 'remotes/kvark/rust' 2014-10-06 21:39:53 -07:00
Erick Tryzelaar
447163834c Mild renaming 2014-10-06 21:37:25 -07:00
Erick Tryzelaar
90d3918904 add back hashmaps 2014-10-06 21:30:39 -07:00
Erick Tryzelaar
4755578c08 re-cleaning up 2014-10-06 21:02:58 -07:00
kvark
b08a647fc1 Fixed the stack overflow with an Writer wrapper 2014-10-06 23:22:18 -04:00
Erick Tryzelaar
3ec686cab1 wip 2014-10-06 08:12:36 -07:00
kvark
7ccb7fbf37 Fixed ranged match arm syntax 2014-10-04 22:05:29 -04:00
Erick Tryzelaar
79817f0603 Minor cleanup 2014-10-03 17:59:31 -07:00
Erick Tryzelaar
be825b8629 Add support for deserializing &strs 2014-10-03 17:59:21 -07:00
Erick Tryzelaar
eef1587b84 add strings back 2014-10-03 07:54:52 -07:00
Erick Tryzelaar
e605d70af1 Add support for deserialization streams that have an option type 2014-10-03 07:50:30 -07:00
Erick Tryzelaar
4c43b4fea2 Variation to support option and a json-ish value 2014-10-02 19:24:38 -07:00
Erick Tryzelaar
ed8dca4372 checkpoint 2014-10-02 07:52:37 -07:00
Erick Tryzelaar
08cc64f7d1 checkpoint 2014-09-30 08:17:54 -07:00
Erick Tryzelaar
b345cc30ad whitespace cleanup 2014-09-30 08:17:45 -07:00
Erick Tryzelaar
ae582b6064 Get serde2_macros compiling again 2014-09-30 08:17:10 -07:00
Erick Tryzelaar
083f62659a some renames 2014-09-30 08:06:16 -07:00
Erick Tryzelaar
b334136f6e Minor renaming 2014-09-30 08:06:16 -07:00
Erick Tryzelaar
755cfb339d change visit_seq/map into an iterator-ish pattern 2014-09-30 08:06:16 -07:00
Erick Tryzelaar
f283694583 cleanup dead code 2014-09-30 08:06:16 -07:00
Erick Tryzelaar
00cba6cdc4 Migrate everything over to a visitor approach 2014-09-30 08:06:16 -07:00
Erick Tryzelaar
a3ac2ab061 playing around with a de2 generic visitor 2014-09-30 08:06:16 -07:00
Erick Tryzelaar
c3a5becd22 Add visit_*_elt to de2 2014-09-30 08:06:16 -07:00
Erick Tryzelaar
401e621814 Fix a typo 2014-09-30 08:06:16 -07:00
Erick Tryzelaar
35786442f5 add two deserialization variations 2014-09-30 08:06:16 -07:00
kvark
997d3901c1 Fixed all the tests 2014-09-29 21:58:22 -04:00
kvark
bfd1fb0ee9 Fixed String and Option conflicts for the latest Rust 2014-09-29 21:50:24 -04:00
Erick Tryzelaar
119bb0f590 Merge pull request #10 from kvark/gc
Updated macros to use P instead of Gc
2014-09-23 10:18:12 -04:00
kvark
c064b06272 Fixed serde2 2014-09-16 22:34:29 -04:00
kvark
e4916fc4c5 Updated macros to use P instead of Gc 2014-09-15 23:01:45 -04:00
Erick Tryzelaar
19f04f094a Update README.md
This tries to address #7.
2014-09-07 22:15:16 -07:00
Erick Tryzelaar
906e9db9d5 Merge pull request #5 from kvark/name
`serial_name` attribute
2014-09-07 11:18:22 -07: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
4a713cdbea Improved SyntaxError 2014-09-07 09:59:17 -04:00
kvark
b3ac319530 Implemented serializer support for serial_name attribute 2014-09-07 09:55:27 -04:00