Commit Graph

3259 Commits

Author SHA1 Message Date
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
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