Commit Graph

  • f944b453c4 Merge pull request #792 from elliottslaughter/fix_serialize_tuple_docs David Tolnay 2017-02-27 14:05:15 -08:00
  • a993630cf9 Fix documentation of serialize_tuple and SerializeTuple. Elliott Slaughter 2017-02-27 14:00:21 -08:00
  • abc081ce9c Test rename_all attribute David Tolnay 2017-02-25 11:58:34 -08:00
  • 207940046b Merge pull request #788 from 46bit/issue-140 David Tolnay 2017-02-25 11:38:33 -08:00
  • 47efbc6d75 Don't need to pass back the input here David Tolnay 2017-02-25 11:31:00 -08:00
  • 17279e8a4f Simplify case conversion implementation David Tolnay 2017-02-25 11:00:47 -08:00
  • 06c631db05 Bring in the tests David Tolnay 2017-02-25 11:01:31 -08:00
  • 7952bad41f Move case conversion to its own file David Tolnay 2017-02-25 10:38:45 -08:00
  • 3308f81c3a Saving progress on naming convention conversion code to try new Inflector changes. #788 Michael Mokrysz 2017-02-25 13:24:49 +00:00
  • 75e6da02d3 Split up test suite so it compiles in parallel David Tolnay 2017-02-24 15:32:13 -08:00
  • 59ec931d8f Release 0.9.9 v0.9.9 David Tolnay 2017-02-24 13:57:52 -08:00
  • 4b3c5ea99e Fix clippy lint in content serializer David Tolnay 2017-02-24 13:56:44 -08:00
  • d4ea4a7eef Add test for enums containing enums David Tolnay 2017-02-24 13:48:03 -08:00
  • 5fbdadefb2 Deserializing enums in serde_test David Tolnay 2017-02-24 13:47:04 -08:00
  • 4da77e4200 Serialize to Content David Tolnay 2017-02-24 11:43:55 -08:00
  • d797504407 Deserialize enums from &Content David Tolnay 2017-02-24 09:32:14 -08:00
  • 84915268ee Minor fixes for pull request. Cheers @dtolnay. Michael Mokrysz 2017-02-24 01:55:31 +00:00
  • 3b59d47e07 Heavily refactored rename_all and switched to SCREAMING_SNAKE_CASE. Michael Mokrysz 2017-02-23 23:12:48 +00:00
  • fc94c5399a Implementing rename_all container attribute using Inflector trait. #140 Michael Mokrysz 2017-02-23 18:57:58 +00:00
  • 8e5f472e27 Merge pull request #787 from 46bit/issue-775 David Tolnay 2017-02-22 18:23:18 -08:00
  • 5e7883945b Fix clippy lint in Content::unexpected David Tolnay 2017-02-22 18:16:51 -08:00
  • a4bd6b9a96 Fix content's SeqDeserializer on no_std David Tolnay 2017-02-22 18:14:56 -08:00
  • 4c253748c2 Compiles and fixes internally tagged testcases. Michael Mokrysz 2017-02-23 01:05:44 +00:00
  • 8f6e1fb5b3 Resolved error typing. Needs to adapt to Content::Map with non-String keys. Michael Mokrysz 2017-02-22 23:59:47 +00:00
  • 4e665a71bd Attempt to port serde_json::Value::deserialize_enum for ContentDeserializer is being derailed by what error types should be used. Michael Mokrysz 2017-02-22 22:54:48 +00:00
  • 017e6d304f Release 0.9.8 v0.9.8 David Tolnay 2017-02-21 10:59:42 -08:00
  • 89cbb81673 Include readme and licenses in crates.io archive David Tolnay 2017-02-20 21:11:27 -08:00
  • c36743fa05 Merge pull request #782 from serde-rs/adjacent David Tolnay 2017-02-20 21:04:17 -08:00
  • 9a3c1243f4 Deserialization of Haskell style enums David Tolnay 2017-02-19 16:04:50 -08:00
  • 599a1b6607 Fragments that keep track of type of syntax David Tolnay 2017-02-20 14:43:51 -08:00
  • 3d6e086d3e Support custom paths in container attribute serde(default="...") David Tolnay 2017-02-20 17:03:38 -08:00
  • ad480d2b04 Merge pull request #780 from Thomasdezeeuw/default_container David Tolnay 2017-02-20 16:10:28 -08:00
  • 7bee779514 Only allow #[serde(default)]` on structs Thomas de Zeeuw 2017-02-21 00:15:00 +01:00
  • dff919a926 Rename __simple_value to __field0 to be consistent with tuples David Tolnay 2017-02-20 14:16:54 -08:00
  • bac593573c Drop aster dependency David Tolnay 2017-02-20 13:18:38 -08:00
  • 9444db5f19 Add support for #[serde(default)] on structs Thomas de Zeeuw 2017-02-20 22:34:52 +01:00
  • 3bf8cda994 Update generics handling to use split_for_impl David Tolnay 2017-02-20 11:50:24 -08:00
  • f98e7f6ba0 Merge pull request #778 from SimonSapin/serialize_display_bounded_length David Tolnay 2017-02-20 11:09:32 -08:00
  • 772b22b427 Avoid some string allocations. Simon Sapin 2017-02-20 18:30:41 +01:00
  • 535ab1e04b Merge pull request #771 from elliottslaughter:internally_content_tagged David Tolnay 2017-02-19 16:08:18 -08:00
  • a3fe03c323 Serialization of Haskell style enums David Tolnay 2017-02-19 16:04:39 -08:00
  • 7dad6426da Merge pull request #774 from nox/limit-hints David Tolnay 2017-02-19 13:51:21 -08:00
  • 792a5f7502 Also clamp the collection impls David Tolnay 2017-02-19 13:45:23 -08:00
  • a4c738a9f3 Clamp hints coming from untrusted input to 4096 Anthony Ramine 2017-02-19 14:29:41 +01:00
  • 4538143d00 Initial work to support serialization of adjacently tagged enums. Elliott Slaughter 2017-02-17 21:44:15 -08:00
  • 7f08894a32 Remove dependency on unneeded syn feature David Tolnay 2017-02-17 21:01:42 -08:00
  • adf7b086b5 Remove outdated comment David Tolnay 2017-02-17 20:38:50 -08:00
  • c590df13b9 Add compile-fail test for the with attribute David Tolnay 2017-02-16 18:43:04 -08:00
  • afa6dfbbe2 Merge pull request #765 from serde-rs/with Oliver Schneider 2017-02-15 08:33:14 +01:00
  • f500db6e91 Pair serialize_with and deserialize_with into one attribute David Tolnay 2017-02-14 17:36:50 -08:00
  • 090c8a7049 Merge pull request #762 from serde-rs/rustfmt David Tolnay 2017-02-13 01:29:25 -08:00
  • e8651a52e7 Rustfmt David Tolnay 2017-02-12 21:59:04 -08:00
  • 964a2dd4d1 Release 0.9.7 v0.9.7 David Tolnay 2017-02-09 17:52:11 -08:00
  • 8a21bbc720 Merge pull request #755 from serde-rs/playground David Tolnay 2017-02-09 17:50:39 -08:00
  • 4dba260ad7 Merge pull request #756 from shepmaster/patch-2 Oliver Schneider 2017-02-09 18:01:35 +01:00
  • 1d3044fa28 Add missing close backtick Jake Goulding 2017-02-09 11:53:12 -05:00
  • d1f0112bfb Playground feature to get serde_derive picked up by integer32 playground David Tolnay 2017-02-08 12:37:40 -08:00
  • 3f25cd9a7e No longer need ser::Error import David Tolnay 2017-02-08 08:17:43 -08:00
  • 45a36f1219 Fix proc macro panic message in tests David Tolnay 2017-02-08 08:12:32 -08:00
  • 529a1cfedb Keyword no_std for serde and serde_derive David Tolnay 2017-02-08 07:40:02 -08:00
  • 219abd2e00 The performance is identical David Tolnay 2017-02-04 19:04:29 -08:00
  • 4bd10528a0 Merge pull request #736 from nox/serialize-iter David Tolnay 2017-02-04 11:18:36 -08:00
  • b82bba2d0a Merge pull request #747 from serde-rs/phantom_tags David Tolnay 2017-02-04 08:53:04 -08:00
  • 17c175a1a6 Use specialisation to optimise collect_seq and collect_map Anthony Ramine 2017-02-04 12:22:58 +01:00
  • 763ab9c2a1 Use serialize_seq! to implement Serialize for [T] Anthony Ramine 2017-02-04 12:21:45 +01:00
  • 30b8036efa Remove ser::Iterator Anthony Ramine 2017-02-04 11:52:48 +01:00
  • 89bb16da6b Introduce Serializer::collect_map Anthony Ramine 2017-02-03 21:09:54 +01:00
  • d00a895902 Introduce Serializer::collect_seq Anthony Ramine 2017-01-31 22:59:09 +01:00
  • 393b19ee8a update codegen to the content changes Oliver Schneider 2017-02-04 10:37:50 +01:00
  • e68888d475 remove possible sublte ambiguity with .into_deserializer Oliver Schneider 2017-02-04 10:00:04 +01:00
  • d1306a78ec Release 0.9.6 v0.9.6 David Tolnay 2017-02-03 08:02:37 -08:00
  • ce230adf12 Merge pull request #739 from serde-rs/tag David Tolnay 2017-02-03 07:50:26 -08:00
  • 066c9a15cf Explain status of content module David Tolnay 2017-02-03 07:43:04 -08:00
  • 6277079152 move the PhantomData usage to the Deserializer Oliver Schneider 2017-02-03 15:02:40 +01:00
  • d60fd84b7e Merge pull request #740 from serde-rs/enumset Oliver Schneider 2017-02-03 13:38:39 +01:00
  • 02e6c04e9f Check for sequence end David Tolnay 2017-02-02 22:12:07 -08:00
  • 9f04b9d6e7 Remove the EnumSet impls David Tolnay 2017-02-02 19:13:55 -08:00
  • d298da0b4f Require std for deserializing untagged enums David Tolnay 2017-02-02 19:06:28 -08:00
  • ff21d557c7 Untagged and internally tagged enums David Tolnay 2017-02-02 12:10:07 -08:00
  • faaa494579 Merge pull request #738 from serde-rs/absolute Oliver Schneider 2017-02-02 08:16:51 +01:00
  • 661cdf4e00 Inline the trait docs at the top level David Tolnay 2017-02-01 12:58:01 -08:00
  • a55d812441 Even more absolute paths David Tolnay 2017-02-01 12:12:39 -08:00
  • b7ca574bb3 Use absolute paths to Ok and Err David Tolnay 2017-02-01 09:42:12 -08:00
  • d960571439 Release 0.9.5 v0.9.5 David Tolnay 2017-02-01 01:01:06 -08:00
  • 1ccc58e2aa Merge pull request #735 from serde-rs/travis David Tolnay 2017-02-01 00:43:27 -08:00
  • 34b39083bc No error if clippy install fails David Tolnay 2017-02-01 00:38:02 -08:00
  • 48f4deac55 No more travis-cargo David Tolnay 2017-01-31 12:18:57 -08:00
  • 9a0f05d00d Speed up the travis clippy installation David Tolnay 2017-01-31 12:09:44 -08:00
  • b47e1a6dc3 Allow clippy failure in travis David Tolnay 2017-01-31 12:02:03 -08:00
  • 39c7797633 Allow running travis build locally David Tolnay 2017-01-31 09:17:33 -08:00
  • 368784949e move to cargo clippy instead of using the clippy plugin (#733) Oliver Schneider 2017-01-31 18:09:37 +01:00
  • 74cf80989d Merge pull request #731 from serde-rs/pubtuple Oliver Schneider 2017-01-31 08:56:46 +01:00
  • f0b4735781 No tuple structs with private fields in public API David Tolnay 2017-01-30 18:10:50 -08:00
  • 297f373548 Release 0.9.4 v0.9.4 David Tolnay 2017-01-30 17:42:11 -08:00
  • 81f28da8e1 Clarify the role of Impossible serializer David Tolnay 2017-01-30 17:41:33 -08:00
  • d4bb687032 Merge pull request #728 from nox/impossibru David Tolnay 2017-01-30 17:26:21 -08:00
  • f9bc5037f5 Introduce ser::Impossible (fixes #694) Anthony Ramine 2017-01-31 01:23:14 +01:00
  • 8624ca6f1d Release 0.9.3 v0.9.3 David Tolnay 2017-01-28 15:01:58 -08:00
  • a9b5cc4830 Fix invalid_length message for tuples and arrays David Tolnay 2017-01-28 15:00:54 -08:00
  • c31f76321c Release 0.9.2 v0.9.2 David Tolnay 2017-01-28 09:10:39 -08:00