Commit Graph

3479 Commits

Author SHA1 Message Date
Erick Tryzelaar
bfc1b25fcd add a test for using the std::io::extensions::Bytes iterator 2014-12-15 20:10:25 -08:00
Erick Tryzelaar
73f375673b Simplify down some code 2014-12-14 11:34:27 -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
c75f5caf8f Update serde2 to rust HEAD 2014-12-13 16:58:31 -08:00
Erick Tryzelaar
246396fdb4 update to rust HEAD, fix the tests 2014-12-13 16:55:42 -08:00
Erick Tryzelaar
ed6d64ad6d wip 2014-12-08 23:39:43 -08:00
Erick Tryzelaar
73a9dd86b9 wip: refactor 2014-12-08 23:13:17 -08:00
Erick Tryzelaar
fcd276176b wip: remove error fns from de 2014-12-08 22:45:58 -08:00
Erick Tryzelaar
b87f0f5fde Remove deprecated attributes 2014-12-08 20:41:40 -08:00
Erick Tryzelaar
6caf7b8e0b flesh out serde2::json 2014-12-06 08:02:34 -08:00
Erick Tryzelaar
e5ddf759de cleanup serde::json::value 2014-12-05 22:33:30 -08:00
Erick Tryzelaar
0bd94c7653 serde List -> Array 2014-12-05 22:23:03 -08:00
Erick Tryzelaar
f6434fcf77 add serde2 json deserializing to the benchmark 2014-12-05 22:19:30 -08:00
Erick Tryzelaar
38dc9aaf72 clean up serde json deserializing 2014-12-05 22:19:05 -08:00
Erick Tryzelaar
388ef3e80f fixup the benchmarks 2014-12-05 22:17:50 -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
18d943e8a7 migrate json deserializer into it's own module, clean up errors 2014-11-14 20:55:49 -08:00
Erick Tryzelaar
4ce5ae8025 pull the json serializer into it's own module 2014-11-14 20:55:49 -08:00
Erick Tryzelaar
34ee45b794 Rename json::ParserError to json::Error, use the new error framework 2014-11-14 19:41:41 -08:00
Erick Tryzelaar
2b121b0db8 Rename the json::Value deserializer 2014-11-14 19:26:52 -08:00
Erick Tryzelaar
db17fe4f3c Update the json examples to use the builder 2014-11-14 09:24:32 -08:00
Erick Tryzelaar
7dee5a64d5 Allow the json::builder::ObjectBuilder to insert &str keys 2014-11-14 09:06:25 -08:00
Erick Tryzelaar
3c26cb9fe5 Factor the json value enum into it's own module 2014-11-14 08:22:59 -08:00
Erick Tryzelaar
21a58e86e4 Rename Serializable to Serialize, Deserializable to Deserialize 2014-11-13 07:54:44 -08:00
Erick Tryzelaar
45247c7ef6 Merge pull request #12 from renato-zannon/update-to-nightly
Update to nightly
2014-11-07 17:07:26 -08:00
Renato Zannon
bad51b197f Fix new deprecations from collections reform 2014-11-07 18:28:31 -02:00
Renato Zannon
ba67a8b3b2 Updates to match new operator method lookup 2014-11-07 18:23:44 -02:00
Renato Zannon
4345633a92 Update benchmarks to rust nightly 2014-11-04 20:50:53 -02:00
Renato Zannon
d3a43a80cd Update to rust nightly (treemap -> tree_map) 2014-11-04 20:37:37 -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
0380346466 Add some better error messages 2014-10-23 10:26:52 -07:00
Erick Tryzelaar
be0f19fb34 Remove dead code 2014-10-23 10:26:52 -07:00
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