Commit Graph

714 Commits

Author SHA1 Message Date
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
kvark
394d0e987c Implemented serial_name attribute 2014-09-07 09:55:27 -04:00
Erick Tryzelaar
bc92cb884c Update to rust nightly 2014-09-07 01:54:57 -07:00
Erick Tryzelaar
1ba0603273 Add cargo build to .travis 2014-09-07 01:54:57 -07:00
Erick Tryzelaar
64a0c88ad1 Merge pull request #6 from erickt/readme
Update the readme
2014-09-07 01:37:31 -07:00
Erick Tryzelaar
0ae4d5bcb2 Update the readme 2014-09-07 01:30:58 -07:00
Erick Tryzelaar
b80fb0ed0e Add a basic readme. 2014-09-07 01:28:56 -07:00
Erick Tryzelaar
fd9b789474 initial travis version 2014-09-07 01:27:03 -07:00
Erick Tryzelaar
6e1e8a75f3 Merge remote-tracking branch 'remotes/origin/master'
Conflicts:
	.gitignore
2014-09-07 01:20:51 -07:00
Erick Tryzelaar
6b2adccf60 speed up the tests to 249MB/s (!!) by copying over the MyMemWriter1
for some reason, having MyMemWriter1 in scope makes everything much
faster.
2014-09-07 01:19:36 -07:00
Erick Tryzelaar
bb361086b3 Inline and export json string escaping functions 2014-09-07 01:07:45 -07:00
Erick Tryzelaar
02bcb1c616 Bump up the json::to_vec mem writer buf size 2014-09-07 01:07:11 -07:00
Erick Tryzelaar
c4d7e4c208 properly test manual escaped and non-escaped logs 2014-09-07 01:04:39 -07:00
Erick Tryzelaar
12e8920810 Hardcode the timestamp to simplify tests 2014-09-07 01:02:19 -07:00
Erick Tryzelaar
c77d814685 Clean up serde2_macros 2014-09-06 23:24:11 -07:00
Erick Tryzelaar
1154345316 minor cleanup 2014-09-06 21:11:38 -07:00
Erick Tryzelaar
205f8aaa51 speed up serde2's json serialization to 180MB/s 2014-09-06 21:11:29 -07:00
Erick Tryzelaar
e2e395e8d0 Initial version of bench_log for serde2 2014-09-06 20:44:53 -07:00
Erick Tryzelaar
e2c6bf5119 Ignore the Cargo.lock file 2014-09-06 20:42:49 -07:00
Erick Tryzelaar
0cd64bfb14 Move the benchmarks into a benches/ directory 2014-09-06 20:41:13 -07:00
Erick Tryzelaar
d9932bc96a Merge pull request #4 from kvark/update
Updated non_snake_case and struct lifetimes for the latest Rust
2014-09-05 11:48:31 -07:00
kvark
6b62229dae Updated non_snake_case and struct lifetimes for the latest Rust 2014-09-04 21:57:13 -04:00
Erick Tryzelaar
3a5424b13c add serde2_macros 2014-09-03 07:13:33 -07:00
Erick Tryzelaar
8e4684bfef More cleanup of serde2 2014-09-02 07:39:02 -07:00