Commit Graph

  • aeee73fe92 Merge pull request #1831 from taiki-e/borrow-macro David Tolnay 2021-01-24 19:08:20 -08:00
  • 1a3ef39040 Merge pull request #1842 from Timmmm/fix2 David Tolnay 2021-01-24 18:48:46 -08:00
  • deaf600af7 Merge pull request #1965 from serde-rs/int David Tolnay 2021-01-24 18:43:36 -08:00
  • 48556a4c7f Reduce post-macro-expansion code in integer deserialize impls David Tolnay 2021-01-24 17:36:20 -08:00
  • d88a4748f7 Remove unused $ty arg from internal impl_deserialize_num macro David Tolnay 2021-01-24 17:06:36 -08:00
  • ffed19243d Release 1.0.122 v1.0.122 David Tolnay 2021-01-24 16:17:29 -08:00
  • bb7f94df84 Add serde_derive_internals to clippy CI job David Tolnay 2021-01-24 16:11:37 -08:00
  • ff0f467e25 Opt in to pedantic clippy lints in serde_derive_internals David Tolnay 2021-01-24 16:10:31 -08:00
  • d1975f3661 Update serde_derive_internals to tool attrs David Tolnay 2021-01-24 16:07:38 -08:00
  • b91713e824 Suppress clippy should_implement_trait lint David Tolnay 2021-01-24 16:04:28 -08:00
  • 6ea446fb4b Suppress clippy unused_self pedantic lint David Tolnay 2021-01-24 16:00:56 -08:00
  • 85c6904a93 Remove dependency on syn/visit feature David Tolnay 2021-01-23 21:59:24 -08:00
  • 2fd5212204 Remove unused trait impls on private MapAsEnum David Tolnay 2021-01-23 23:16:23 -08:00
  • 7d1bc1f0fc Merge pull request #1963 from serde-rs/valuedebug David Tolnay 2021-01-23 23:19:36 -08:00
  • cdc2fa1b9f Eliminate inferred bound on error type of value deserializer Debug impls David Tolnay 2021-01-23 22:53:20 -08:00
  • ac4001e590 Remove some unused trait impls from private UnitOnly variant accessor David Tolnay 2021-01-23 23:07:06 -08:00
  • fbcb2230bb Make use of fmt::Result type alias from libcore David Tolnay 2021-01-23 22:57:09 -08:00
  • 86c88bea12 Hide some irrelevant detail from de::value::Error's Debug impl David Tolnay 2021-01-23 22:48:54 -08:00
  • 82d0fe00fd Add link to rust-lang/rust#67295 David Tolnay 2021-01-23 22:31:39 -08:00
  • e61261e002 Move doctest-only helpers to a doc module David Tolnay 2021-01-23 22:24:20 -08:00
  • 9fd56cd41c Remove unused __private_deserialize macro, originally for doctests David Tolnay 2021-01-23 22:26:16 -08:00
  • e81f54fbc8 Make AST borrow checker happy Taiki Endo 2020-10-24 05:45:15 +09:00
  • c67017d466 Fix handling of Self keyword in type definition Taiki Endo 2020-10-24 05:45:12 +09:00
  • f6e7366b46 Remove unused Debug impl on private::ser::content::Content David Tolnay 2021-01-23 22:10:48 -08:00
  • 1f9f72bc48 Merge pull request 1898 from Mingun/bytes-into-deserializer David Tolnay 2021-01-23 22:01:14 -08:00
  • e24dbc418d Skip another clone of the fallthrough arm David Tolnay 2021-01-23 20:41:43 -08:00
  • 18e5b03fd1 Merge pull request #1962 from serde-rs/dupborrowed David Tolnay 2021-01-23 20:51:56 -08:00
  • 5aa163f27e Revert "Regenerate macrotest outputs for PR #1917" David Tolnay 2021-01-23 20:36:26 -08:00
  • 3728d3c67a Eliminate duplicated borrowed and non-borrowed identifier deserialization David Tolnay 2021-01-23 20:21:39 -08:00
  • 3f48ed36cc Restore compatibility with rustc <1.31 in Borrowed identifier deserializer David Tolnay 2021-01-23 20:18:15 -08:00
  • b6a2d07f26 Return IdentifierDeserializer to just one associated type David Tolnay 2021-01-23 20:00:07 -08:00
  • 84ad76b2e5 Ignore too_many_lines clippy pedantic lint in serde_test David Tolnay 2021-01-23 20:04:25 -08:00
  • e6b6602a42 Merge pull request 1914 from Mingun/seq-other David Tolnay 2021-01-23 19:45:15 -08:00
  • 999b94d6ae Regenerate macrotest outputs for PR #1917 David Tolnay 2021-01-23 19:43:02 -08:00
  • fa6712d2bf Merge pull request #1918 from Mingun/fix-serde-test David Tolnay 2021-01-23 15:02:32 -08:00
  • 012ea8eb84 Keep conditional compilation cfg naming consistent with serde crate David Tolnay 2021-01-23 14:57:10 -08:00
  • 9add5812e2 Update track_caller cfg link to show what version it's in David Tolnay 2021-01-23 14:56:03 -08:00
  • 5fd52100b6 Merge pull request #1920 from Mingun/track_caller David Tolnay 2021-01-23 14:54:24 -08:00
  • 6670a309ca Merge pull request #1961 from serde-rs/renamerule David Tolnay 2021-01-23 14:50:02 -08:00
  • b7bad3a165 Restore compatibility with rustc 1.31 in RenameRule error David Tolnay 2021-01-23 14:40:43 -08:00
  • 4e002ece07 Provide list of recognized rename rules on parse error David Tolnay 2021-01-23 14:36:52 -08:00
  • eaccae2c46 Fix UPPERCASE rename rule variant to follow idiomatic variant naming David Tolnay 2021-01-23 14:27:28 -08:00
  • 990a502c39 Parse rename rules based on table of rules David Tolnay 2021-01-23 14:24:10 -08:00
  • 661206d885 Merge pull request #1960 from serde-rs/renamerule David Tolnay 2021-01-23 14:23:09 -08:00
  • 51d4563ed1 Move RenameRule parse error message to a Display impl David Tolnay 2021-01-23 14:12:26 -08:00
  • 7db0982e58 Add error type to use for RenameRule parsing David Tolnay 2021-01-23 14:09:58 -08:00
  • ed04824f10 Move RenameRule parse from trait fn to associated David Tolnay 2021-01-23 14:07:49 -08:00
  • 88ee470a1c Format PR #1916 with rustfmt 1.4.32 David Tolnay 2021-01-23 13:39:12 -08:00
  • a5ecbdb4f4 Merge pull request 1916 from Mingun/expecting-customize David Tolnay 2021-01-23 13:38:03 -08:00
  • bd588db067 Release 1.0.121 v1.0.121 David Tolnay 2021-01-23 13:17:08 -08:00
  • 8f09aeacdd Merge pull request #1959 from serde-rs/1917 David Tolnay 2021-01-23 13:15:30 -08:00
  • 0b5c56b0db Touch up documentation from PR #1917 David Tolnay 2021-01-23 13:08:35 -08:00
  • 85de92e6f7 Inline forward_deserializer for bytes deserializers David Tolnay 2021-01-23 13:05:21 -08:00
  • c858a1fa77 Clean up unnecessary macro_use from PR #1917 David Tolnay 2021-01-23 12:59:12 -08:00
  • d02eb22557 Inline some unnecessary constructor functions from PR #1917 David Tolnay 2021-01-23 12:56:45 -08:00
  • 034fe25d5b Remove redundant unused trait impls from private types from PR #1917 David Tolnay 2021-01-23 12:54:31 -08:00
  • 0a230e8598 Inline forward_deserializer into private::de for Str deserializers David Tolnay 2021-01-23 12:50:01 -08:00
  • b20214d4a0 Undo macro exports from PR #1917 David Tolnay 2021-01-23 12:23:10 -08:00
  • 34f4b68f77 Fix unneeded clone from PR #1917 David Tolnay 2021-01-23 12:30:19 -08:00
  • 60e08f9545 Format PR #1917 with rustfmt 1.4.32 David Tolnay 2021-01-23 12:29:20 -08:00
  • ba46f45dc5 Merge pull request 1917 from Mingun/borrow-identifier David Tolnay 2021-01-23 12:20:18 -08:00
  • 44b9567e21 Merge pull request #1958 from jonasbb/duration-panic David Tolnay 2021-01-23 00:45:39 -08:00
  • b276849ce1 Prevent panic when deserializing malformed Duration Jonas Bushart 2021-01-20 20:41:40 +01:00
  • 398fba9b1e Release 1.0.120 v1.0.120 David Tolnay 2021-01-18 22:55:13 -08:00
  • cd6697b0e4 Merge pull request #1955 from TheJokr/patch-1 David Tolnay 2021-01-18 22:54:43 -08:00
  • c162d51866 Add 128-bit integer support to de::IgnoredAny Leo Blöcher 2021-01-19 02:32:26 +01:00
  • 78a9dbc57e Merge pull request #1948 from Marwes/from_str David Tolnay 2021-01-12 13:12:54 -08:00
  • 391d3ababf Touch up PR 1948 David Tolnay 2021-01-12 13:02:53 -08:00
  • 99d9151ce9 refactor: Merge multiple FromStr visitors to a single FromStrVisitor Markus Westerlind 2021-01-12 11:31:37 +01:00
  • 4c89cf89fd Release 1.0.119 v1.0.119 David Tolnay 2021-01-11 12:13:57 -08:00
  • b0c99ed761 Restore compatibility with rustc 1.13.0 David Tolnay 2021-01-08 20:00:32 -08:00
  • dd1f4b483e Make it clearer that the private implementation details are private David Tolnay 2021-01-08 19:35:52 -08:00
  • 91bfa8f947 Refresh expandtest files with most recent rustfmt David Tolnay 2021-01-08 19:54:21 -08:00
  • 8847800ce2 Ignore from_over_into clippy lint in test suite David Tolnay 2021-01-03 19:05:43 -08:00
  • 3c9fa1ccdf Switch to short form for serde.rs link in rustdoc David Tolnay 2020-12-21 10:35:22 -08:00
  • 3c29a8857f Merge pull request #1936 from bryanburgers/add-serde-dynamo David Tolnay 2020-12-21 10:33:45 -08:00
  • a5da27e16d Add serde_dynamo to the list of data formats Bryan Burgers 2020-12-21 10:51:56 -06:00
  • e797431268 Release 1.0.118 v1.0.118 David Tolnay 2020-12-05 13:45:47 -08:00
  • 4a335f8933 Merge pull request #1926 from attente/core-num-wrapping David Tolnay 2020-12-05 13:43:20 -08:00
  • 84721920fd Resolve clippy items_after_statements lint David Tolnay 2020-11-28 19:08:09 -08:00
  • 192c7819ee Format with rustfmt 1.4.25-beta David Tolnay 2020-11-28 19:06:37 -08:00
  • ede40bdfaa Allow serializing of Wrapping without std William Hua 2020-11-24 00:50:59 -05:00
  • e3d871ff7b Opt in to experimental trybuild diffs David Tolnay 2020-10-31 13:28:19 -07:00
  • 5cbc8439ea Show correct location in error messages by tracking caller of utility assert_tokens functions Mingun 2020-10-28 09:11:54 +05:00
  • 0e1c4093c8 Suppress new result_unit_err clippy lint David Tolnay 2020-10-27 19:20:45 -07:00
  • 0d5b6c180c Resolve ptr_eq clippy lint David Tolnay 2020-10-27 19:18:27 -07:00
  • 97c350a95e Forward Readable|Compact next_entry_seed to underlying next_entry_seed instead of usage of default implementation Mingun 2020-10-28 01:04:30 +05:00
  • 920a77ad61 Fix incorrect messages in serialized tokens assertions Mingun 2020-10-28 00:59:05 +05:00
  • a227a87865 Collect lifetimes inside macro invocations Taiki Endo 2020-06-07 20:30:03 +09:00
  • 7a7a182ab6 Allow borrow for field identifiers Mingun 2020-10-23 16:12:06 +05:00
  • 9e1f573f88 Use forward_deserializer macro for define StrDeserializer for IdentifierDeserializer Mingun 2020-10-23 14:06:04 +05:00
  • 094f63b86a Introduce a forward_deserializer macro. Mingun 2020-10-23 13:03:19 +05:00
  • 42fa79455e Make BytesDeserializer public Mingun 2020-10-03 16:30:19 +05:00
  • 104ad9a7dd Allow to define custom expectation message for type with #[serde(expecting = "...")] Mingun 2020-10-23 00:54:13 +05:00
  • 23c14e5f33 Allow to run assert_de_tokens_error on token sequence that is not expected by enum deserializer Mingun 2020-10-22 23:50:48 +05:00
  • e80571751d Allow borrowed and owned strings and bytes and u8, u16, u64 for variant keys in serde_test Mingun 2020-10-22 11:15:39 +05:00
  • 0737474640 Allow field identifiers be any numbers if #[serde(other)] is used Mingun 2020-10-22 10:18:27 +05:00
  • 34de1e00c8 Implement IdentifierDeserializer for u64 instead of u32 because all identifiers deserialized with visit_u64 Mingun 2020-10-22 10:10:32 +05:00
  • f6eb34a830 Assert that numeric field identifiers correctly deserialized (now failing) Mingun 2020-10-22 10:03:39 +05:00
  • 8084258a3e Update ui tests to nightly-2020-10-20 David Tolnay 2020-10-20 19:17:50 -07:00