Commit Graph

  • d17902059e
    Merge pull request #3019 from xibeiyoumian/master master David Tolnay 2025-12-22 03:29:10 -08:00
  • a27948e209 chore: improve code comments clarity xibeiyoumian 2025-12-22 14:38:55 +08:00
  • 576e2ef9d8
    Update actions/upload-artifact@v5 -> v6 David Tolnay 2025-12-19 21:10:59 -08:00
  • dd0eb0f2ca
    Update actions/upload-artifact@v4 -> v5 David Tolnay 2025-12-18 18:58:13 -08:00
  • f7fc3e0d67
    Update actions/checkout@v5 -> v6 David Tolnay 2025-11-20 10:19:51 -08:00
  • 1c396d223b
    Update actions/checkout@v4 -> v5 David Tolnay 2025-11-20 10:19:01 -08:00
  • e42684f9a7
    Update ui test suite to nightly-2025-11-02 David Tolnay 2025-11-01 22:38:40 -07:00
  • 56c29b3c5d
    Update name of empty_enum clippy lint David Tolnay 2025-11-01 22:37:03 -07:00
  • 5a44519a9a
    Raise required compiler for serde_derive to Rust 1.68 David Tolnay 2025-10-19 14:52:29 -07:00
  • fae23fea97
    Resolve manual_let_else pedantic clippy lint David Tolnay 2025-10-19 14:57:10 -07:00
  • d656b4dd6a
    Raise required compiler for serde_derive to Rust 1.65 David Tolnay 2025-10-19 14:52:24 -07:00
  • b517ec9fd7
    Merge pull request #3001 from nik-contrib/refactor David Tolnay 2025-10-17 10:35:18 -07:00
  • 086353c581 refactor: remove 1 level of nesting Nik Revenco 2025-10-17 18:29:26 +01:00
  • 4e278703c6
    Merge pull request #2936 from Mingun/remove-fixme David Tolnay 2025-09-28 11:34:47 -07:00
  • 9f9a1ea35e Do not use ? operator in the generated code where possible Mingun 2025-05-29 22:22:52 +05:00
  • a866b336f1
    Release 1.0.228 v1.0.228 David Tolnay 2025-09-27 09:51:07 -07:00
  • 5adc9e816c
    Merge pull request #2995 from dtolnay/rustdocflags David Tolnay 2025-09-27 09:50:33 -07:00
  • ab581789f4
    Workaround for RUSTDOCFLAGS='--cfg=docsrs' David Tolnay 2025-09-27 09:39:10 -07:00
  • 415d9fc560
    Release 1.0.227 v1.0.227 David Tolnay 2025-09-25 16:42:33 -07:00
  • 7c58427e12
    Merge pull request #2991 from dtolnay/inlinecoredoc David Tolnay 2025-09-25 16:41:35 -07:00
  • 9d3410e3f4
    Merge pull request #2992 from dtolnay/inplaceseed David Tolnay 2025-09-25 16:40:54 -07:00
  • 2fb6748bf1
    Remove InPlaceSeed public re-export David Tolnay 2025-09-25 16:26:14 -07:00
  • f8137c79a2
    Inline serde_core into serde in docsrs mode David Tolnay 2025-09-25 08:06:20 -07:00
  • b7dbf7e3cb
    Merge pull request #2990 from dtolnay/integer128 David Tolnay 2025-09-25 11:14:43 -07:00
  • 7c836915fc
    No longer macro_use integer128 module David Tolnay 2025-09-25 11:09:19 -07:00
  • aa2d9b208a
    Merge pull request #2989 from dtolnay/pr2987 David Tolnay 2025-09-25 09:45:25 -07:00
  • 3a7c11c82c
    Rename enum_untagged::generate_newtype_variant -> deserialize_newtype_variant David Tolnay 2025-09-25 09:38:13 -07:00
  • 11ce4402bd
    Rename enum_untagged::generate_variant -> deserialize_variant David Tolnay 2025-09-25 09:37:43 -07:00
  • 8047570160
    Rename generate_body_in_place -> deserialize_in_place David Tolnay 2025-09-25 09:28:12 -07:00
  • b395215875
    Rename all other generate_body -> deserialize David Tolnay 2025-09-25 09:27:43 -07:00
  • a437ff6bf7
    Rename identifier::generate_identifier -> deserialize_generated David Tolnay 2025-09-25 09:34:25 -07:00
  • 20fc31c78a
    Rename identifier::generate_body -> deserialize_custom David Tolnay 2025-09-25 09:33:38 -07:00
  • ad2b064b0a
    Adjust variable names David Tolnay 2025-09-25 09:40:40 -07:00
  • dec153b8fa
    Adjust comments David Tolnay 2025-09-25 09:40:24 -07:00
  • e219a0d4b7
    Replace unnecessary use of generics_with_de_lifetime David Tolnay 2025-09-25 09:26:00 -07:00
  • c78f7d2e30
    Rename Parameters::generics -> generics_with_de_lifetime David Tolnay 2025-09-25 09:24:18 -07:00
  • 502a065a4c
    Merge pull request #2987 from Mingun/split-de-generator David Tolnay 2025-09-25 09:41:29 -07:00
  • 027112eccb Visibility fix for Rust 1.61 Mingun 2025-09-21 20:58:53 +05:00
  • 8c3445efe4 Group some functions that used together Mingun 2025-09-19 21:39:47 +05:00
  • 88b6a9abf4 Rename functions and run cargo fmt Mingun 2025-09-19 21:27:30 +05:00
  • fa298c9df4 Move generator for identifiers to its own module Mingun 2025-09-19 23:50:32 +05:00
  • c4a07ed4e8 Move body generator for unit structs to its own module Mingun 2025-09-20 00:10:10 +05:00
  • c4986f10b9 Move body generator for tuple structs to its own module Mingun 2025-09-19 23:12:48 +05:00
  • 2d607de146 Move body generator for structs to its own module Mingun 2025-06-14 19:03:18 +05:00
  • 19956e6b8e Move body generator for enums to its own module Mingun 2025-09-20 00:15:59 +05:00
  • ec13eb4ed6 Move body generator for untagged enums to its own module Mingun 2025-06-14 16:57:34 +05:00
  • ae00c4acb7 Move body generator for internally tagged enums to its own module Mingun 2025-06-14 16:30:43 +05:00
  • 85d0b9ccd8 Move body generator for externally tagged enums to its own module Mingun 2025-06-14 16:20:49 +05:00
  • e60f62a289 Move body generator for adjacently tagged enums to its own module Mingun 2025-06-14 16:15:57 +05:00
  • e04f0ba2de StructForm::InternallyTagged always instantiated with the same deserializer, so remove that parameter Mingun 2025-09-19 20:28:22 +05:00
  • c8184be238 StructForm::Untagged always instantiated with the same deserializer, so remove that parameter Mingun 2025-09-19 20:38:46 +05:00
  • 896d91f0bb TupleForm::Untagged always instantiated with the same deserializer, so remove that parameter Mingun 2025-09-19 20:37:03 +05:00
  • 915686d0ec deserialize_untagged_newtype_variant always called with the same deserializer, so remove that parameter Mingun 2025-09-19 20:34:26 +05:00
  • 3a682c951b deserialize_untagged_variant always called with the same deserializer, so remove that parameter Mingun 2025-09-19 20:31:13 +05:00
  • ca79f61d0f deserialize_internally_tagged_variant always called with the same deserializer, so remove that parameter Mingun 2025-09-19 20:26:14 +05:00
  • ddb7c4b30f Convert split_with_de_lifetime to method of Parameters Mingun 2025-06-14 19:59:09 +05:00
  • 4855fb467f Move code for injecting tagged variants to untagged generator to the place where the decision was made Mingun 2025-06-14 17:32:31 +05:00
  • 6dffc0b1c8 Remove one-line intermediate function Mingun 2025-06-14 16:43:24 +05:00
  • 15be2a600a Remove confusing call to deserialize_untagged_variant in deserialize_internally_tagged_variant Mingun 2024-08-11 02:06:52 +05:00
  • 1799547846
    Release 1.0.226 v1.0.226 David Tolnay 2025-09-20 16:34:44 -07:00
  • 2dbeefb11b
    Merge pull request #2935 from Mingun/dedupe-adj-enums David Tolnay 2025-09-20 16:33:32 -07:00
  • 8a3c29ff19
    Merge pull request #2986 from dtolnay/didnotwork David Tolnay 2025-09-20 12:30:39 -07:00
  • defc24d361
    Remove "did not work" comment from test suite David Tolnay 2025-09-20 12:23:01 -07:00
  • 2316610760
    Merge pull request #2929 from Mingun/flatten-enum-tests Oli Scherer 2025-09-18 13:15:10 +00:00
  • c09e2bd690 Add tests for flatten unit variant in adjacently tagged (tag + content) enums Mingun 2024-08-03 16:02:38 +05:00
  • fe7dcc4cd8 Test all possible orders of map entries for enum-flatten-in-struct representations Mingun 2024-08-03 15:18:28 +05:00
  • a20e66e131 Check serialization in flatten::enum_::internally_tagged::unit_enum_with_unknown_fields Mingun 2024-08-03 13:35:36 +05:00
  • 1c1a5d95cd Reorder struct_ and newtype tests of adjacently_tagged enums to match order in Enum Mingun 2024-08-03 15:22:33 +05:00
  • ee3c2372fb
    Opt in to generate-macro-expansion when building on docs.rs David Tolnay 2025-09-16 16:29:21 -07:00
  • bfb020d975 Use variant name for field instead of field Mingun 2025-05-29 20:32:47 +05:00
  • 6805bba308 Inline variables that used only once Mingun 2025-05-29 01:20:04 +05:00
  • 2659b94a62 Create deserializer only when needed Mingun 2025-05-29 01:14:34 +05:00
  • c451415d9f Do not duplicate variant deserialization code Mingun 2025-05-29 01:07:27 +05:00
  • 553a9ff15f Document functions that are entry points for generating bodies of different deserialization forms Mingun 2025-05-28 22:05:31 +05:00
  • 6f5eb7d207
    Merge pull request #2983 from Mingun/fix-test-instructions David Tolnay 2025-09-16 09:24:04 -07:00
  • 55615e8f8e Fix instructions for testing contributions Mingun 2025-09-16 21:15:49 +05:00
  • 1d7899d671
    Release 1.0.225 v1.0.225 David Tolnay 2025-09-15 20:43:08 -07:00
  • 97168d3a24
    Touch up PR 2879 David Tolnay 2025-09-15 20:28:17 -07:00
  • 373b11dda7
    Merge pull request 2879 from rcrisanti/fix/silence-deprecation-warnings-derive David Tolnay 2025-09-15 20:26:40 -07:00
  • 69072f2423
    Merge pull request 2931 from Mingun/unify-serde-access David Tolnay 2025-09-15 13:22:24 -07:00
  • 5b37e8a531
    Merge pull request #2980 from dtolnay/private David Tolnay 2025-09-15 13:20:54 -07:00
  • b47f4dfa96 Unify access to the serde namespace Mingun 2025-05-24 16:51:52 +05:00
  • cbe98a9888
    Use differently named __private module per patch release David Tolnay 2025-09-15 09:48:58 -07:00
  • 957996f5fb
    Make all use of __private go through interpolation David Tolnay 2025-09-15 09:38:22 -07:00
  • 169988206a
    Release 1.0.224 v1.0.224 David Tolnay 2025-09-15 08:46:21 -07:00
  • 840f6ec9b8
    Merge pull request #2979 from dtolnay/private David Tolnay 2025-09-15 08:45:06 -07:00
  • bf9ebea392
    Mark every trait impl for a private type with do_not_recommend David Tolnay 2025-09-14 19:45:07 -07:00
  • 6c316d7cb5
    Release 1.0.223 v1.0.223 David Tolnay 2025-09-14 13:20:31 -07:00
  • a4ac0c2bc6
    Merge pull request #2978 from dtolnay/htmlrooturl David Tolnay 2025-09-14 13:19:52 -07:00
  • ed76364f87
    Change serde_core's html_root_url to docs.rs/serde_core David Tolnay 2025-09-14 12:54:38 -07:00
  • 57e21a1afa
    Release 1.0.222 v1.0.222 David Tolnay 2025-09-14 11:09:08 -07:00
  • bb58726133
    Merge pull request #2950 from aytey/fix_lifetime_issue_2024 David Tolnay 2025-09-14 11:08:16 -07:00
  • 3f6925125b
    Delete unneeded field of MapDeserializer David Tolnay 2025-09-14 08:38:02 -07:00
  • fd4decf2fe
    Merge pull request #2976 from dtolnay/content David Tolnay 2025-09-14 08:39:46 -07:00
  • 00b1b6b2b5
    Move Content's Deserialize impl from serde_core to serde David Tolnay 2025-09-14 08:35:53 -07:00
  • cf141aa8c7
    Move Content's Clone impl from serde_core to serde David Tolnay 2025-09-14 08:35:32 -07:00
  • ff3aee490a
    Release 1.0.221 v1.0.221 David Tolnay 2025-09-13 17:23:51 -07:00
  • 10bcfc0047
    Merge pull request #2975 from dtolnay/integer128 David Tolnay 2025-09-13 17:25:14 -07:00
  • 2f03899197
    Deprecate serde_if_integer128 macro David Tolnay 2025-09-13 17:19:04 -07:00
  • 3bea3b6989
    Move serde_if_integer128 macro to serde David Tolnay 2025-09-13 17:12:21 -07:00