Commit Graph

  • 1c0a16f719 Add aliases on struct fields Hugo Duncan 2015-02-20 15:55:32 -05:00
  • bb1a9b2389 Add serde default attribute for fields Hugo Duncan 2015-02-20 12:43:37 -05:00
  • 5c4327cd16 Silence a warning Erick Tryzelaar 2015-02-25 08:14:20 -08:00
  • d4dcf8e75d A really ugly hack to get generic enum serialization Erick Tryzelaar 2015-02-20 08:21:15 -08:00
  • adc6057574 Merge pull request #24 from tomprogrammer/rust-head Erick Tryzelaar 2015-02-24 07:04:50 -08:00
  • 399231ad5e Follow rust std: Use full range for slicing Thomas Bahn 2015-02-24 10:53:42 +01:00
  • 0388c69228 Follow rust: Suffix us is replaced by usize Thomas Bahn 2015-02-24 10:52:54 +01:00
  • 61c38127af Follow rust std: Stabilized Hash and introduced PhantomData Thomas Bahn 2015-02-24 10:52:10 +01:00
  • e9c7ea1a64 Follow rustc: Compiler internals changed Thomas Bahn 2015-02-24 10:45:34 +01:00
  • c5a35e388c Refactor default_value to use if-let Hugo Duncan 2015-02-20 13:59:14 -05:00
  • b6fc68c030 Add serde default attribute for fields Hugo Duncan 2015-02-20 12:43:37 -05:00
  • 5f46adb2d0 Merge pull request #20 from inrustwetrust/json-parser-trailing-whitespace Erick Tryzelaar 2015-02-19 08:36:36 -08:00
  • 3fac47e01c Fix #[derive_serialize] for enums Erick Tryzelaar 2015-02-18 22:59:16 -08:00
  • fb77b13174 Make the JSON parser accept trailing whitespace inrustwetrust 2015-02-18 20:39:24 +01:00
  • 65cfcd03f8 Port serde2 to std::io, which cuts the speed by 26% :( Erick Tryzelaar 2015-02-16 18:17:50 -08:00
  • 4e4172ec85 Merge pull request #19 from tomprogrammer/fix-json-object-delimiter Erick Tryzelaar 2015-02-16 12:29:19 -08:00
  • d43946b6a6 Fix the json object delimiters Thomas Bahn 2015-02-16 20:50:41 +01:00
  • a995e16995 Clean up some dead code from the bench_log.rs Erick Tryzelaar 2015-02-16 07:22:58 -08:00
  • c327eb50fd get serde to compile Erick Tryzelaar 2015-02-15 22:03:32 -08:00
  • 67d7ac4468 Update and tweak some names Erick Tryzelaar 2015-02-15 21:07:17 -08:00
  • 1f98ee0d8f Use writer.write_all(b"...") instead of write! for static strings Erick Tryzelaar 2015-02-14 10:19:15 -08:00
  • 004a89510e ported over to the new std::io, but it's half the speed of std::old_io Erick Tryzelaar 2015-02-14 10:01:22 -08:00
  • 4dccf8cdec Clean up warnings in serde Erick Tryzelaar 2015-02-13 10:26:13 -08:00
  • b70d77b5c9 Cleanup code, fix some incompatibilites with rust head Erick Tryzelaar 2015-02-13 09:40:47 -08:00
  • 5bce95f3e7 Use #[derive_deserialize] Erick Tryzelaar 2015-02-11 11:24:32 -08:00
  • 33633a5e14 Get everything to compile and fix some warnings Erick Tryzelaar 2015-02-11 10:54:23 -08:00
  • 1552eb72dc Add #[derive_deserialize] support for enums Erick Tryzelaar 2015-02-11 08:56:27 -08:00
  • 3fd42e616c Initial macro support for deserializing structs and tuple structs Erick Tryzelaar 2015-02-10 21:08:04 -08:00
  • 044825829a Update to rust HEAD Erick Tryzelaar 2015-02-10 07:50:43 -08:00
  • 4ca70c1396 Merge pull request #18 from tomprogrammer/rust-head Erick Tryzelaar 2015-02-06 17:37:31 -08:00
  • 648ae2e3a3 Ignore serde2/Cargo.lock in git Thomas Bahn 2015-02-06 22:57:50 +01:00
  • f18c28161d Follow rust std: Peekable changed signature Thomas Bahn 2015-02-06 22:01:19 +01:00
  • 70e8556e07 Follow rustc: New destructor semantics Thomas Bahn 2015-02-06 21:10:58 +01:00
  • 03820f3d78 Switch to rustc_serialize for tests Thomas Bahn 2015-02-06 21:09:52 +01:00
  • f2a6f0e710 Follow rust std: fmt::Writer is implemented by String Thomas Bahn 2015-02-06 21:02:17 +01:00
  • 1cf41295c7 Add feature gate io Thomas Bahn 2015-02-06 15:22:04 +01:00
  • a87fab9ecc Simplify some code using auto-deref Thomas Bahn 2015-02-06 15:28:22 +01:00
  • 81f84a4ea4 Remove unneeded mut specifiers Thomas Bahn 2015-02-06 15:20:06 +01:00
  • 79ff9fdafa Use the IntoIterator trait in for loops Thomas Bahn 2015-02-06 15:27:16 +01:00
  • cb8492d74b Follow rust std: Error requires an implementation of fmt::Display Thomas Bahn 2015-02-06 15:37:02 +01:00
  • 5782657502 Follow rust std: The old io module is now called old_io Thomas Bahn 2015-02-06 15:26:06 +01:00
  • 9a284ae7c2 Follow rust std: fmt::Show was renamed to fmt::Debug Thomas Bahn 2015-02-06 15:21:51 +01:00
  • 5dd077969c Use slicing syntax instead of .as_slice() Thomas Bahn 2015-02-06 15:17:24 +01:00
  • 3022d7301a Use deref coercions when possible Thomas Bahn 2015-02-06 14:08:02 +01:00
  • 361acd37d0 Follow rust std: int, uint were renamed to isize, usize Thomas Bahn 2015-02-06 14:14:35 +01:00
  • 3b5d71fbb5 Add empty associated_types in expand_derive Thomas Bahn 2015-02-06 13:32:17 +01:00
  • e2568ddfac Get the benchmark running again Erick Tryzelaar 2015-01-18 11:08:06 -08:00
  • f7eb082339 Initial port of build_log Erick Tryzelaar 2015-01-18 10:05:13 -08:00
  • cc40b0ec5e Update json::Value to work with associated types Erick Tryzelaar 2015-01-17 23:01:03 -08:00
  • 4fb427923b Support json deserialization Erick Tryzelaar 2015-01-17 22:37:17 -08:00
  • f8fb17b2ff Convert json::ser to associated types Erick Tryzelaar 2015-01-17 22:20:28 -08:00
  • 73018e4d5d Add support for option handling Erick Tryzelaar 2015-01-17 21:58:52 -08:00
  • d38d06a151 Convert into typaram into where clause Erick Tryzelaar 2015-01-17 21:32:21 -08:00
  • b58fffbc37 Remove some deprecated functions Erick Tryzelaar 2015-01-17 21:23:30 -08:00
  • 75d5f27f8a wip Erick Tryzelaar 2015-01-17 20:56:06 -08:00
  • 4efca7e56a wip Erick Tryzelaar 2015-01-17 16:32:58 -08:00
  • 3bcfbea1bc Unnamed=>Seq, Named=>Map Erick Tryzelaar 2015-01-09 23:22:11 -08:00
  • 75d1de0ced Mostly working version of deserialization Erick Tryzelaar 2015-01-09 23:14:11 -08:00
  • 8a434721c2 wip Erick Tryzelaar 2015-01-09 17:52:46 -08:00
  • 063a957e03 finish tests for the new serde2::seq Erick Tryzelaar 2015-01-09 07:52:09 -08:00
  • 550ce4406d wip: initial progress converting serde2 to associated types Erick Tryzelaar 2015-01-17 17:30:45 -08:00
  • abc92da944 Merge pull request #17 from danburkert/master Erick Tryzelaar 2015-01-17 16:49:26 -08:00
  • 460dbce8cc Update for rustc 1.0.0-nightly (8903c21d6 2015-01-15 22:42:58 +0000) Dan Burkert 2015-01-17 16:32:29 -08:00
  • 8715a41158 Update to rust HEAD Erick Tryzelaar 2015-01-07 07:51:59 -08:00
  • b98719a4a0 update to rust HEAD, switch to rustc_serialize Erick Tryzelaar 2015-01-04 17:18:50 -08:00
  • f1929ca86d Merge pull request #16 from tomprogrammer/rust-head Erick Tryzelaar 2015-01-02 21:31:11 -05:00
  • d09b9eb72c Unboxed closures: function signature of expand* changed Thomas Bahn 2015-01-02 13:32:54 +01:00
  • 814c0570b8 Fix: String::from_utf8 became stable and changed signature Thomas Bahn 2015-01-01 14:19:21 +01:00
  • ae665a1c05 Syntax extension internals in rust changed Thomas Bahn 2015-01-01 14:10:50 +01:00
  • 85d0c8e4e8 Rename FP* to FpCategory::* following std changes Thomas Bahn 2014-12-30 14:38:39 +01:00
  • 1366bf47e7 Merge pull request #15 from tomprogrammer/rust-head Erick Tryzelaar 2014-12-23 13:02:10 -08:00
  • 879baec029 Fix: String::from_utf8 changed function signature Thomas Bahn 2014-12-23 18:35:26 +01:00
  • a276ec4bba Fix: Utf16 handling moved from std into unicode crate Thomas Bahn 2014-12-23 18:35:00 +01:00
  • 17ffa65cb2 Replace StrAllocating with String type in function parameters Thomas Bahn 2014-12-23 18:34:20 +01:00
  • 512a54e983 Replace TreeMap with BTreeMap in the serde2 Thomas Bahn 2014-12-23 18:33:37 +01:00
  • 7fa62b6212 Fix: Append semicolon to item macro invocations in serde2 Thomas Bahn 2014-12-23 18:31:22 +01:00
  • 589a07d4c9 Silence deprecation warnings Thomas Bahn 2014-12-23 16:46:00 +01:00
  • 91cfb003d9 Fix: String::from_utf8 changed function signature Thomas Bahn 2014-12-23 16:45:32 +01:00
  • 3cf0fb8d5b Fix: Utf16 handling moved from std into unicode crate Thomas Bahn 2014-12-23 16:44:10 +01:00
  • 0957d5769d Replace StrAllocating with String type in function parameters Thomas Bahn 2014-12-23 17:29:09 +01:00
  • cca63836d2 Replace MoveItems and MoveEntries with IntoIter Thomas Bahn 2014-12-23 16:43:17 +01:00
  • 681a609844 Replace TreeMap with BTreeMap in the serde tests Thomas Bahn 2014-12-23 16:52:33 +01:00
  • 19bda6a90d Replace TreeMap/TreeSet with BTreeMap/BTreeSet in serde Thomas Bahn 2014-12-20 14:40:01 +01:00
  • aad0854beb Fix item macro invocation in benches Thomas Bahn 2014-12-19 15:43:54 +01:00
  • 3ea0c7e850 Append semicolon to item macro invocations in serde2 Thomas Bahn 2014-12-19 09:17:51 +01:00
  • d6807c0e90 Append semicolon to item macro invocations in serde Thomas Bahn 2014-12-19 08:59:11 +01:00
  • 29ff8492d2 sync bench_logs, add test for serializing to BufWriter Erick Tryzelaar 2014-12-18 08:44:34 -08:00
  • 29242ee6a6 update to rust head Erick Tryzelaar 2014-12-17 23:00:05 -08:00
  • bfc1b25fcd add a test for using the std::io::extensions::Bytes iterator Erick Tryzelaar 2014-12-15 20:10:25 -08:00
  • 73f375673b Simplify down some code Erick Tryzelaar 2014-12-14 11:34:27 -08:00
  • cd9d584fe1 minor cleanup of the benchmarks Erick Tryzelaar 2014-12-14 11:31:24 -08:00
  • befe433e33 add bench_reader* and bench_iter* Erick Tryzelaar 2014-12-13 23:39:19 -08:00
  • 90a4ef4867 add a bench_manual_deserialize benchmark Erick Tryzelaar 2014-12-13 22:58:05 -08:00
  • c75f5caf8f Update serde2 to rust HEAD Erick Tryzelaar 2014-12-13 16:58:31 -08:00
  • 246396fdb4 update to rust HEAD, fix the tests Erick Tryzelaar 2014-12-13 16:55:42 -08:00
  • ed6d64ad6d wip Erick Tryzelaar 2014-12-08 23:39:43 -08:00
  • 73a9dd86b9 wip: refactor Erick Tryzelaar 2014-12-08 23:13:17 -08:00
  • fcd276176b wip: remove error fns from de Erick Tryzelaar 2014-12-08 22:45:58 -08:00
  • b87f0f5fde Remove deprecated attributes Erick Tryzelaar 2014-12-08 20:41:40 -08:00
  • 6caf7b8e0b flesh out serde2::json Erick Tryzelaar 2014-12-06 08:02:34 -08:00