Commit Graph

  • 5b884b5bf9 Added some missing UFCs Armin Ronacher 2018-03-20 13:38:22 +01:00
  • 8637dda60f Refactored a test Armin Ronacher 2018-03-20 13:38:08 +01:00
  • abeea89147 Fully qualify some calls in generated code and fix a bad comment Armin Ronacher 2018-03-20 13:35:16 +01:00
  • 6e324e887d Some refactoring to use a bit less unwrap() Armin Ronacher 2018-03-20 13:20:56 +01:00
  • 7c596c7136 Remove unnecessary as_str Armin Ronacher 2018-03-20 13:11:17 +01:00
  • f02dbf381b Added non string key support for flattening Armin Ronacher 2018-03-19 00:57:58 +01:00
  • 7cf184624a Use more consistent error messages for bad flattening Armin Ronacher 2018-03-18 23:46:28 +01:00
  • c5a3128492 Added a more complex flattening test Armin Ronacher 2018-03-18 23:01:13 +01:00
  • 205f606962 Various clippy fixes Armin Ronacher 2018-03-18 22:59:27 +01:00
  • ad40f976db Switch to using Content keys internally for flattening to later support arbitrary keys Armin Ronacher 2018-03-18 21:07:08 +01:00
  • 58d52e784b Remove #[serde(repr = "map")] Armin Ronacher 2018-03-18 18:30:46 +01:00
  • d44f12907b Do not emit an in-place deserialization path for struct as map Armin Ronacher 2018-03-18 18:27:35 +01:00
  • 61b167be9a Attempted support for in_place deserialization for structs as map Armin Ronacher 2018-03-18 18:22:06 +01:00
  • f1af2dc5ab Added support for newtype variant serialization Armin Ronacher 2018-03-18 13:10:54 +01:00
  • ebc61baab2 Added newtype struct support for flattening Armin Ronacher 2018-03-18 13:02:00 +01:00
  • ffcde25b6e Fixed some clippy warnings Armin Ronacher 2018-03-17 00:49:00 +01:00
  • 2f57cecf13 format! -> format_args! for an error message Armin Ronacher 2018-03-16 23:38:50 +01:00
  • bfdcbae9db Fixed an unused import error Armin Ronacher 2018-03-16 23:30:53 +01:00
  • ca41e16e92 Added some missing conditionals for feature compilation Armin Ronacher 2018-03-16 23:20:14 +01:00
  • 352fe7b451 Removed an unused field that was left over from a merge conflict Armin Ronacher 2018-03-16 23:07:31 +01:00
  • 49e302d17d Improved error message for flattening on unsupported types Armin Ronacher 2018-03-16 23:03:56 +01:00
  • b8602a7e43 Added test for tag/content enum flattening Armin Ronacher 2018-03-16 22:58:16 +01:00
  • a8c8c2028e Added support for struct variant enum serialization Armin Ronacher 2018-03-16 22:40:08 +01:00
  • d1833c5602 Added support for basic enums in flatten Armin Ronacher 2018-03-16 12:39:15 +01:00
  • b4ef7ac323 Updated tests for flatten Armin Ronacher 2018-03-16 01:26:57 +01:00
  • ebf80ac965 Implement deserialization support for flatten Armin Ronacher 2018-03-16 01:23:57 +01:00
  • 112dfd7428 Correctly suppress the end() call for flattened serialization Armin Ronacher 2018-03-15 22:21:11 +01:00
  • b692923321 Non working changes to the flatten serializer Armin Ronacher 2018-03-15 21:37:52 +01:00
  • 9e8cda4c37 Added basic not fully working FlatMapSerializer Armin Ronacher 2018-03-15 21:11:35 +01:00
  • 5457394f5b Fixed various issues with combinding flatten and deny_unknown_fields Jan Michael Auer 2018-03-15 16:17:54 +01:00
  • 6627540dd6 Added support basic deserialization in derive Jan Michael Auer 2018-03-15 15:49:40 +01:00
  • 5ae06bba49 Store flatten flag in container attributes Jan Michael Auer 2018-03-15 14:30:38 +01:00
  • 571bb8caed Derive serialization for serde(flatten) Jan Michael Auer 2018-03-15 14:17:48 +01:00
  • 299cd2dbd0 Replace unknown_fields_into with serde(flatten) Jan Michael Auer 2018-03-15 14:16:54 +01:00
  • 583c0d8d14 Make proc-macro2/nightly happy Armin Ronacher 2018-03-14 21:17:02 +01:00
  • 07d07347b3 Make clippy happy Armin Ronacher 2018-03-14 21:16:48 +01:00
  • 77b07f3fbf Added tests for unknown_fields_into Armin Ronacher 2018-03-14 18:46:47 +01:00
  • 1bd2c6129c Explicitly pass value requirements for the capture path Armin Ronacher 2018-03-14 18:46:13 +01:00
  • 39413c8ce7 Implement deserializer for map mode and collection fields Armin Ronacher 2018-03-14 14:15:45 +01:00
  • b4dbae250b Added support for serialization of structs as maps Armin Ronacher 2018-03-14 13:00:16 +01:00
  • 5a91ac5ba5 Initial work on supporting structs as map with unknown field collection Armin Ronacher 2018-03-14 11:36:01 +01:00
  • 7ad836e6a9 Release 1.0.33 v1.0.33 David Tolnay 2018-03-15 10:03:42 -07:00
  • 72ecb9064c Fix parsing of qself in paths in attributes David Tolnay 2018-03-15 10:02:40 -07:00
  • 23c6eb3b40 Release 1.0.32 v1.0.32 David Tolnay 2018-03-13 11:31:26 -07:00
  • b8c9a66d75 Release 1.0.31 v1.0.31 David Tolnay 2018-03-13 10:18:35 -07:00
  • 56b2e39dda Fix panic when a reference has unspecified lifetime David Tolnay 2018-03-13 09:55:29 -07:00
  • 5bc805329e Drop impl should only panic if not already panicking David Tolnay 2018-03-13 09:42:07 -07:00
  • 69dd3215f4 Release 1.0.30 v1.0.30 David Tolnay 2018-03-12 11:44:50 -07:00
  • a7a7a31809 Merge pull request #1175 from daboross/fix-borrowed-cow-bytes David Tolnay 2018-03-12 11:44:14 -07:00
  • af9996aa9a Fix borrowed Cow<'_, [u8]> deserializing as str. David Ross 2018-03-12 11:26:11 -07:00
  • 0d4d47c398 Release 1.0.29 v1.0.29 David Tolnay 2018-03-09 00:24:08 -08:00
  • 30361ac6d0 Clean up workaround that required too many parentheses David Tolnay 2018-03-09 00:21:57 -08:00
  • 3f75239bfb Release 1.0.28 v1.0.28 David Tolnay 2018-03-08 11:39:32 -08:00
  • 8dd5605a40 Merge pull request #1170 from H2CO3/disallow_internal_tag_conflict David Tolnay 2018-03-08 09:34:27 -08:00
  • f288a41768 Test the new errors on conflicting enum tags David Tolnay 2018-03-08 09:31:25 -08:00
  • f4b78e202a add a check for conflicting adjacent tags as well Árpád Goretity 2018-03-08 09:57:05 +01:00
  • 0ddebe0317 More descriptive function name; add doc comment to function Árpád Goretity 2018-03-08 01:05:19 +01:00
  • 9fc526b788 be more explicit in match for future-proofing code via exhaustiveness check Árpád Goretity 2018-03-08 00:53:56 +01:00
  • a799ea171c Disallow variant field names to conflict with tag of internally-tagged enum Árpád Goretity 2018-03-08 00:43:35 +01:00
  • d6f07f2f47 Ignore redundant_field_names lint David Tolnay 2018-02-27 11:13:26 -08:00
  • f9946ee0ca add some comments about alloc in no_std niklasad1 2018-02-17 10:03:21 +01:00
  • a164f52315 Update README.md Niklas Adolfsson 2018-02-16 08:17:30 +01:00
  • 8bba8447ef Whitelist some new clippy lints David Tolnay 2018-02-05 10:27:04 -08:00
  • 9db784bccd Ignore decimal_literal_representation in test suite David Tolnay 2018-01-29 21:52:21 -08:00
  • 9317bc5afa Address clippy lints in serde_derive_internals David Tolnay 2018-01-26 00:22:38 -08:00
  • a185df1e77 Ignore decimal_literal_representation lint David Tolnay 2018-01-26 00:19:21 -08:00
  • 1bdf5ecec4 Ignore unused_parens warning on the proc macro workaround David Tolnay 2018-01-21 17:54:06 -08:00
  • 59017aa19b Follow clippy's replace_consts lint David Tolnay 2018-01-15 17:40:32 -08:00
  • 6b4625dcbb Ignore warning in no_std test David Tolnay 2018-01-13 14:43:34 -08:00
  • 6e01f220b1 Ignore clippy flagging our workaround David Tolnay 2018-01-13 14:28:12 -08:00
  • 64573319f9 Meaningful spans when invoking deserializer trait methods David Tolnay 2018-01-10 20:59:48 -08:00
  • 3d64df6e87 Meaningful span for attrs parsed from string literal David Tolnay 2018-01-10 19:59:49 -08:00
  • cc2558b0dc Meaningful spans when invoking serializer trait methods David Tolnay 2018-01-10 19:22:07 -08:00
  • 5c41661bce Merge pull request #1140 from serde-rs/hygiene David Tolnay 2018-01-09 22:39:23 -08:00
  • dd6914a203 Build the test suite in CI using proc-macro2/nightly David Tolnay 2018-01-09 22:23:19 -08:00
  • 63623eb3b3 Hygiene fixes David Tolnay 2018-01-09 22:22:08 -08:00
  • ddc4b50d4d Use call_site in 'with' attribute David Tolnay 2018-01-09 20:34:29 -08:00
  • b313f947dc Use call_site as the span of unnamed member access David Tolnay 2018-01-09 20:28:23 -08:00
  • 16bc9fb99e Address clippy lints in serde_derive David Tolnay 2018-01-09 19:34:35 -08:00
  • 34eaab00f7 Address clippy lints in serde_derive_internals David Tolnay 2018-01-09 19:21:01 -08:00
  • 6024e717fb Merge pull request #1138 from serde-rs/syn David Tolnay 2018-01-09 19:23:19 -08:00
  • ef4dd6c0ec Update to syn 0.12 David Tolnay 2018-01-08 21:49:09 -08:00
  • f7ed967db1 Merge pull request #1135 from mcgoo/appveyor-tls David Tolnay 2018-01-04 20:55:53 -08:00
  • 613e46b0ee get rustup-init with curl to avoid tls failures mcgoo 2018-01-04 22:04:16 -06:00
  • b2d2e96267 Merge pull request #1133 from martinlindhe/master David Tolnay 2018-01-03 07:44:40 -08:00
  • ae0373643c fix some typos Martin Lindhe 2018-01-03 15:16:45 +01:00
  • 7aeabddd2f Release 1.0.27 v1.0.27 David Tolnay 2017-12-30 22:19:41 -05:00
  • 9df8f5ecc0 Merge pull request #1132 from Lireer/uppercase David Tolnay 2017-12-30 22:18:20 -05:00
  • c4fad2883b Add UPPERCASE to rename_all Carl Scherer 2017-12-31 03:12:00 +01:00
  • 9cfcd78c87 Release 1.0.26 v1.0.26 David Tolnay 2017-12-27 17:33:32 -05:00
  • 4751627f1c Implement De/Serialize for PhantomData where T: ?Sized David Tolnay 2017-12-27 17:32:49 -05:00
  • ae59c6b6d2 Release 1.0.25 v1.0.25 David Tolnay 2017-12-23 23:33:59 -05:00
  • 4973d7a62d Suppress errors on rustfmt line overflow David Tolnay 2017-12-23 20:27:52 -08:00
  • ed6a1de311 Auto format attributes on their own line David Tolnay 2017-12-23 20:24:57 -08:00
  • ab234be025 The rustfmt rfc style is now the default David Tolnay 2017-12-23 20:21:52 -08:00
  • ee75e6c0e9 Format with rustfmt-nightly 0.3.4 David Tolnay 2017-12-23 20:13:08 -08:00
  • c2b390fe63 Merge pull request #1124 from serde-rs/in-place David Tolnay 2017-12-23 19:56:29 -08:00
  • 56d5d7f761 Rename deserialize_from to deserialize_in_place David Tolnay 2017-12-17 10:46:44 -08:00
  • 0b89bc920e Merge pull request #1094 from Gankro/deserialize_from David Tolnay 2017-12-11 21:29:15 -08:00
  • 0dac13e4db Resolve conflict with pr 1115 David Tolnay 2017-12-11 20:59:54 -08:00