Commit Graph

51 Commits

Author SHA1 Message Date
Erick Tryzelaar
ed569bd3f6 Update to latest rust nightly 2015-04-01 22:51:02 -07:00
Erick Tryzelaar
1b1c605102 Pull deserialization impls into their own file 2015-03-26 07:58:26 -07:00
Erick Tryzelaar
4beb86ab7e Update to rust HEAD 2015-03-25 10:43:25 -07:00
Erick Tryzelaar
5378d22708 Switch to the new custom_deserialize syntax 2015-03-19 20:19:49 -07:00
Erick Tryzelaar
c8b2ad01b5 Update to rust HEAD 2015-03-19 20:19:49 -07:00
Erick Tryzelaar
ec8b7c9b89 Update to rust HEAD 2015-03-14 14:57:13 -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
65cfcd03f8 Port serde2 to std::io, which cuts the speed by 26% :( 2015-02-16 18:17:50 -08:00
Erick Tryzelaar
1f98ee0d8f Use writer.write_all(b"...") instead of write! for static strings 2015-02-14 10:19:15 -08:00
Erick Tryzelaar
004a89510e ported over to the new std::io, but it's half the speed of std::old_io 2015-02-14 10:01:22 -08:00
Erick Tryzelaar
4dccf8cdec Clean up warnings in serde 2015-02-13 10:26:13 -08:00
Thomas Bahn
f2a6f0e710 Follow rust std: fmt::Writer is implemented by String 2015-02-06 22:23:16 +01:00
Thomas Bahn
1cf41295c7 Add feature gate io 2015-02-06 22:23:16 +01:00
Thomas Bahn
5782657502 Follow rust std: The old io module is now called old_io 2015-02-06 22:23:16 +01:00
Thomas Bahn
9a284ae7c2 Follow rust std: fmt::Show was renamed to fmt::Debug 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
361acd37d0 Follow rust std: int, uint were renamed to isize, usize 2015-02-06 22:23:15 +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
aad0854beb Fix item macro invocation in benches
Following changes in rustc.
2014-12-19 15:43:54 +01:00
Erick Tryzelaar
29ff8492d2 sync bench_logs, add test for serializing to BufWriter 2014-12-18 08:44:34 -08:00
Erick Tryzelaar
29242ee6a6 update to rust head 2014-12-17 23:00:05 -08:00
Erick Tryzelaar
bfc1b25fcd add a test for using the std::io::extensions::Bytes iterator 2014-12-15 20:10:25 -08:00
Erick Tryzelaar
cd9d584fe1 minor cleanup of the benchmarks 2014-12-14 11:31:24 -08:00
Erick Tryzelaar
befe433e33 add bench_reader* and bench_iter* 2014-12-13 23:39:19 -08:00
Erick Tryzelaar
90a4ef4867 add a bench_manual_deserialize benchmark 2014-12-13 22:58:05 -08:00
Erick Tryzelaar
246396fdb4 update to rust HEAD, fix the tests 2014-12-13 16:55:42 -08:00
Erick Tryzelaar
8b9da64e29 Get serde2 compiling again 2014-12-05 16:24:32 -08:00
Erick Tryzelaar
f240f5d2c1 whitespace cleanup 2014-12-05 12:03:23 -08:00
Erick Tryzelaar
663d3edf90 More benchmark cleanup 2014-12-01 13:32:00 -08:00
Erick Tryzelaar
f1606c8eb3 reuse the buffers 2014-12-01 13:20:37 -08:00
Erick Tryzelaar
742a70ed4f Add tests for the bench_log benchmarks, make libserialize use same code as serde 2014-12-01 13:09:35 -08:00
Erick Tryzelaar
9d55333f06 update to the latest nightly 2014-12-01 12:21:18 -08:00
Erick Tryzelaar
857723dff6 Fix serde to compile on master again 2014-11-22 16:27:01 -08:00
Erick Tryzelaar
ff8c8c77cc Update to latest rust master 2014-11-17 19:21:46 -08:00
Erick Tryzelaar
4ce5ae8025 pull the json serializer into it's own module 2014-11-14 20:55:49 -08:00
Erick Tryzelaar
21a58e86e4 Rename Serializable to Serialize, Deserializable to Deserialize 2014-11-13 07:54:44 -08:00
Renato Zannon
bad51b197f Fix new deprecations from collections reform 2014-11-07 18:28:31 -02:00
Erick Tryzelaar
23f3173ded update to rust HEAD 2014-11-03 12:58:36 -08:00
Erick Tryzelaar
20e642420e Convert the json parser over to working with bytes 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
bc92cb884c Update to rust nightly 2014-09-07 01:54:57 -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
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