Commit Graph

  • 77f9e63661 Add a CI build on 1.15.0 David Tolnay 2018-05-02 14:29:51 -07:00
  • b78f434086 Pretend remote derives are not dead code David Tolnay 2018-05-02 13:29:44 -07:00
  • 893c0578dd Release 1.0.44 v1.0.44 David Tolnay 2018-05-01 22:34:27 -07:00
  • cb2b92f828 Handle flatten + deserialize_with David Tolnay 2018-05-01 22:25:06 -07:00
  • 47a4ffbd31 Fill in missing fully qualified paths in flatten David Tolnay 2018-05-01 22:24:16 -07:00
  • d82d1707d6 Format with rustfmt 0.6.0 David Tolnay 2018-04-30 01:41:22 -07:00
  • 89278996c5 Release 1.0.43 v1.0.43 David Tolnay 2018-04-23 11:23:58 -07:00
  • ecef937e26 Merge pull request #1234 from serde-rs/newtype David Tolnay 2018-04-23 11:23:21 -07:00
  • bceda5fb18 Unpack a layer of NewtypeStruct when content is newtype David Tolnay 2018-04-23 10:51:49 -07:00
  • f46a08b04e Merge pull request #1231 from ignatenkobrain/patch-1 David Tolnay 2018-04-22 16:48:11 -07:00
  • f3cb7c7a32 derive: bump min version of quote to 0.5.2 Igor Gnatenko 2018-04-22 09:22:47 +02:00
  • af795e2e54 Release 1.0.42 v1.0.42 David Tolnay 2018-04-21 15:16:10 -07:00
  • 6aa07fe0d6 Merge pull request #1229 from serde-rs/cold David Tolnay 2018-04-21 14:57:11 -07:00
  • c455720f81 Mark error construction as cold code David Tolnay 2018-04-21 14:02:04 -07:00
  • b07a208716 Merge pull request #1228 from serde-rs/untagged David Tolnay 2018-04-21 13:46:36 -07:00
  • df93fab5fa Reduce instantiations of Result::map in Deserialize of unit variants David Tolnay 2018-04-21 13:25:24 -07:00
  • 1a972d2105 Merge pull request #1227 from serde-rs/ser David Tolnay 2018-04-21 12:10:28 -07:00
  • 6d1807bb4a Improve Serialize of adjacently tagged newtype variants David Tolnay 2018-04-21 11:41:37 -07:00
  • b37cf858ce Remove unneeded quote_spanned that uses call_site David Tolnay 2018-04-21 11:32:57 -07:00
  • 5f8fa33756 Quote's default has changed to call_site David Tolnay 2018-04-21 11:28:44 -07:00
  • f3f006f411 Merge pull request #1226 from serde-rs/try David Tolnay 2018-04-21 11:33:28 -07:00
  • 607966dcf7 Fix error message type inference in compile-fail/remote/wrong_de.rs David Tolnay 2018-04-21 11:21:13 -07:00
  • 6a8c39b2aa More efficient try!() alternative David Tolnay 2018-04-21 10:51:32 -07:00
  • 382f3c2771 Release 1.0.41 v1.0.41 David Tolnay 2018-04-19 22:13:45 -07:00
  • 85ca12a8c3 Deserialize any integer from any buffered integer type David Tolnay 2018-04-19 22:11:14 -07:00
  • 541f9180cf Release 1.0.40 v1.0.40 David Tolnay 2018-04-19 10:31:33 -07:00
  • 3c4961c48e Lenient byte and string deserialization from buffered content David Tolnay 2018-04-19 09:52:27 -07:00
  • 184264ee92 Release 1.0.39 v1.0.39 David Tolnay 2018-04-17 11:35:45 -07:00
  • 6050229e7e Simplify counting remaining elements David Tolnay 2018-04-17 00:10:17 -07:00
  • e1db820c9f Implement all &Content deserializer hints David Tolnay 2018-04-16 22:47:50 -07:00
  • 0081cc961d Implement all Content deserializer hints David Tolnay 2018-04-14 21:24:44 -07:00
  • 9bc05803fe Fix clippy lint about literal in format string David Tolnay 2018-04-15 22:07:47 -07:00
  • 8d113e67d6 Release 1.0.38 v1.0.38 David Tolnay 2018-04-14 20:30:18 -07:00
  • 6e206ce053 Name formatter args with a leading double underscore David Tolnay 2018-04-13 00:21:21 -07:00
  • 47fc9af472 Emit borrowed methods only if collect_other_fields David Tolnay 2018-04-13 00:17:10 -07:00
  • 1651f86d56 Simplify Option that is always Some David Tolnay 2018-04-13 00:12:30 -07:00
  • 1157ac0118 Eliminate unnecessary braces in wrap_deserialize_variant_with David Tolnay 2018-04-12 23:48:38 -07:00
  • 202c10147e Fix deserialize_with on a struct variant with one field David Tolnay 2018-04-12 23:44:53 -07:00
  • 9f38ca032e Format with rustfmt 0.4.1 David Tolnay 2018-04-12 22:58:24 -07:00
  • 00178ba795 Eliminate generic functions in bound.rs David Tolnay 2018-04-12 22:48:31 -07:00
  • 24700ebeb6 Move associated type search into with_bounds David Tolnay 2018-04-12 22:39:26 -07:00
  • f06001c086 Name type_params consistently with Syn David Tolnay 2018-04-12 22:04:34 -07:00
  • ec773fb7db Make use of Generics::type_params iterator David Tolnay 2018-04-12 22:03:40 -07:00
  • da8b457f66 Simplify with_where_predicates_from_fields David Tolnay 2018-04-12 18:27:19 -07:00
  • a6e94e7122 Merge pull request #1213 from Osspial/assoc_type_derive David Tolnay 2018-04-12 18:13:46 -07:00
  • 629bf7b354 Fix clippy warnings Osspial 2018-04-12 18:19:18 -04:00
  • 4415d10c61 Fix associated types only working for first generic parameter Osspial 2018-04-12 16:44:32 -04:00
  • def8d6e8af Add associated type test Osspial 2018-04-10 11:16:23 -04:00
  • 2e824e9aba Limit type bounds to associated types Osspial 2018-04-10 10:53:37 -04:00
  • fd14332729 Ignore skipped fields Osspial 2018-04-09 23:43:49 -04:00
  • c413775574 Add partially-working where bounds for associated types Osspial 2018-04-09 23:22:18 -04:00
  • 5efb22ebee Format no_std test code with rustfmt 0.4.1 David Tolnay 2018-04-07 19:22:24 -07:00
  • 3e535325e1 Remove unused compiler_builtins_lib feature David Tolnay 2018-04-07 19:20:51 -07:00
  • 5653e5b15c Remove eh_unwind_resume lang item David Tolnay 2018-04-07 19:20:04 -07:00
  • 8d85860064 Remove no longer needed compiler_builtins David Tolnay 2018-04-07 19:18:35 -07:00
  • eed18ffab2 Release 1.0.37 v1.0.37 David Tolnay 2018-04-01 22:30:32 -07:00
  • f8e1fa8ebc Use Generics::make_where_clause helper David Tolnay 2018-04-01 16:58:14 +02:00
  • 860241aa88 Merge pull request #1205 from mitsuhiko/bugfix/tuple-struct-flatten David Tolnay 2018-04-02 07:09:39 +02:00
  • 6f6c60867d Merge pull request #1204 from mitsuhiko/bugfix/flatten-struct-variant David Tolnay 2018-04-02 07:09:23 +02:00
  • 77376f39ea Produce error message for use of flatten in tuple structs Armin Ronacher 2018-04-01 22:11:21 +02:00
  • 302fac91a3 Produce error message for use of flatten within struct variant Armin Ronacher 2018-04-01 22:01:24 +02:00
  • 9c659d9d86 Format with rustfmt 0.4.1 David Tolnay 2018-04-01 00:04:54 +02:00
  • 21698f264a Merge pull request #1201 from alexcrichton/proc-macro2-v3 David Tolnay 2018-03-31 23:56:29 +02:00
  • ba002e1119 Update signature of Lifetime::new David Tolnay 2018-03-31 23:46:25 +02:00
  • 8b44eb8bfc Add parens to TraitBound David Tolnay 2018-03-31 23:45:30 +02:00
  • d82a0cc5ff Remove use of Span::located_at David Tolnay 2018-03-31 23:44:50 +02:00
  • 801fd1dc19 Drop the patch dependencies David Tolnay 2018-03-31 23:09:01 +02:00
  • 222779d46c Document that rc impls require a feature David Tolnay 2018-03-30 10:31:50 +02:00
  • b1c1d964e1 Update to syn/quote/proc-macro2 new apis Alex Crichton 2018-03-28 15:49:51 -07:00
  • b77cfb635d Less eye-catching rustc version badge David Tolnay 2018-03-28 14:59:01 +02:00
  • c42c08a25b Merge pull request #1199 from serde-rs/rustc David Tolnay 2018-03-28 14:44:12 +02:00
  • 48997cbb5b Rustc version badge David Tolnay 2018-03-28 14:16:10 +02:00
  • d8ccd8809e Merge pull request #1198 from serde-rs/call_site David Tolnay 2018-03-28 11:03:01 +02:00
  • d2b65e0a5d Prefer call site spans David Tolnay 2018-03-28 10:42:53 +02:00
  • 7c04c98e0e Release 1.0.36 v1.0.36 David Tolnay 2018-03-27 11:35:45 +02:00
  • a2fa4c2570 Merge pull request #1196 from serde-rs/self David Tolnay 2018-03-27 11:12:04 +02:00
  • 42430902e2 Special case remote = "Self" David Tolnay 2018-03-27 10:56:05 +02:00
  • 23e2e92237 Release 1.0.35 v1.0.35 David Tolnay 2018-03-25 12:59:02 +02:00
  • 273b2c11c6 Keep using deprecated AsciiExt on old compilers David Tolnay 2018-03-25 12:45:04 +02:00
  • c1602a4d76 Deserialize map in place cannot have flatten attributes David Tolnay 2018-03-25 12:42:36 +02:00
  • c23be3f855 Revert flatten change in deserialize in place David Tolnay 2018-03-25 12:39:20 +02:00
  • 5c9c97c0ce Remove test that fails to parse flatten attribute David Tolnay 2018-03-25 12:33:50 +02:00
  • e5ed440136 Always check flatten assertions David Tolnay 2018-03-25 12:32:06 +02:00
  • d45ca2f5e4 Re-export NonZero* types from ::lib David Tolnay 2018-03-25 12:30:30 +02:00
  • d7f9f8209d Indicate that NonZero<T> is deprecated David Tolnay 2018-03-25 12:26:06 +02:00
  • 4a2612ecff Merge pull request #1191 from SimonSapin/nonzero David Tolnay 2018-03-25 03:24:51 -07:00
  • 05b22a06d7 impl Serialize and Deserialize for std::num::NonZero* Simon Sapin 2018-03-24 10:39:40 +01:00
  • 3145bcc46e Merge pull request 1159 from niklasad1/patch-1 David Tolnay 2018-03-24 19:41:25 +01:00
  • 2b18b57d84 Release 1.0.34 v1.0.34 David Tolnay 2018-03-22 15:06:21 -07:00
  • 5520202262 Merge pull request #1179 from mitsuhiko/feature/flatten David Tolnay 2018-03-22 14:14:23 -07:00
  • 3d647f4063 Fixed a compilefail test for flatten on enums Armin Ronacher 2018-03-20 23:26:22 +01:00
  • 0fde3c2ee8 Fix a warning caused by no-default-features Armin Ronacher 2018-03-20 23:06:55 +01:00
  • 27f935f036 Correctly serialize newtype variants for flatten Armin Ronacher 2018-03-20 23:05:05 +01:00
  • 99614c7266 Added flatten on enum compile fail test Armin Ronacher 2018-03-20 22:15:47 +01:00
  • bb2ecb3bc4 Added compilefail tests for flatten conflicts Armin Ronacher 2018-03-20 22:04:12 +01:00
  • 96393bfcc7 Added checks for flatten attribute Armin Ronacher 2018-03-20 21:48:25 +01:00
  • 1d92569abc Added explanatory comment about fetching data from buffered content Armin Ronacher 2018-03-20 21:24:00 +01:00
  • e4ef087735 Added support for borrowing when flattening Armin Ronacher 2018-03-20 15:19:36 +01:00
  • 695c3eedcb Do not imply flatten from skip_serialize Armin Ronacher 2018-03-20 14:45:14 +01:00
  • 50c636a923 Remove now dead as_map detection (can be cattrs.has_flatten) Armin Ronacher 2018-03-20 13:43:23 +01:00