Commit Graph

  • 166ba8912e
    Update to new struct version of FileWriteMode master pjht 2024-11-17 21:51:32 -06:00
  • f5700b61ad
    Fix missing desrialize for FileOpenMode pjht 2024-11-16 11:50:22 -06:00
  • 678d2be06c
    Add ser/de impls for mikros File(Creation/Write/Open)Mode pjht 2024-11-11 15:48:33 -06:00
  • 1b40077a58
    Fix Serialize/Deserialize for std::os::mikros::Errno pjht 2024-10-04 12:33:07 -05:00
  • 7b4c40c037
    Add Serialize/Deserialize for std::os::mikros::Errno pjht 2024-10-03 17:59:17 -05:00
  • 31000e1874
    Add a funding file David Tolnay 2024-09-23 15:38:03 -07:00
  • 4487cb26c7
    Merge pull request #2822 from dtolnay/mapcontentdeserializer David Tolnay 2024-09-07 16:41:38 -07:00
  • aba4e18553
    Remove explicit ContentDeserializer construction in visit functions David Tolnay 2024-09-07 16:22:11 -07:00
  • c82f2580b4
    Merge pull request #2821 from dtolnay/clos David Tolnay 2024-09-06 16:54:36 -07:00
  • 1d7b009aec
    Eliminate closures capturing needlessly many type parameters David Tolnay 2024-09-06 16:26:14 -07:00
  • 89c4b02bf3
    Release 1.0.210 David Tolnay 2024-09-06 11:17:20 -07:00
  • eeb8e44cda
    Merge pull request #2818 from dtolnay/coreerror David Tolnay 2024-09-06 11:16:43 -07:00
  • 785c2d9605
    Stabilize no-std StdError trait David Tolnay 2024-09-06 11:09:11 -07:00
  • d549f048e1
    Reformat parse_ip_impl definition and calls David Tolnay 2024-09-06 11:05:41 -07:00
  • 4c0dd63011
    Delete attr support from core::net deserialization macros David Tolnay 2024-09-06 11:05:00 -07:00
  • 26fb134165
    Relocate cfg attrs out of parse_ip_impl and parse_socket_impl David Tolnay 2024-09-06 11:03:41 -07:00
  • 07e614b52b
    Merge pull request #2817 from dtolnay/corenet David Tolnay 2024-09-06 11:05:48 -07:00
  • b1f899fbe8
    Delete doc(cfg) attribute from impls that are supported in no-std David Tolnay 2024-09-06 11:00:55 -07:00
  • b4f860e627
    Merge pull request #2816 from MathiasKoch/chore/core-net David Tolnay 2024-09-06 10:59:24 -07:00
  • d940fe1b49 Reuse existing Buf wrapper as replacement for std::io::Write Mathias 2024-09-05 14:24:44 +02:00
  • f2899a9e06 Implement serialize/deserialize for core::net instead of std::net if running rust version newer than 1.77, where core::net was stabilized Mathias 2024-09-05 10:38:00 +02:00
  • 3aca38d2d3
    Upload CI Cargo.lock for reproducing failures David Tolnay 2024-08-25 12:12:25 -07:00
  • 30752ac4ff
    Release 1.0.209 David Tolnay 2024-08-23 20:29:05 -07:00
  • b84e6ca4f5
    Improve wording of PR 2805 comments David Tolnay 2024-08-23 19:42:10 -07:00
  • 87a2fb0f1a
    Wrap comments from PR 2805 to 80 columns David Tolnay 2024-08-23 19:33:54 -07:00
  • 9eaf7b9824
    Merge pull request #2805 from Mingun/untagged-tests David Tolnay 2024-08-23 20:25:07 -07:00
  • 7bde100237 Replace MapRefDeserializer with value::MapDeserializer Mingun 2024-08-17 17:09:53 +05:00
  • da7fc795ee Fix deserialization of empty struct variant in untagged enums Mingun 2024-08-17 16:32:36 +05:00
  • 4c5fec1363 Test special cases that reaches SeqRefDeserializer::deserialize_any len==0 condition Mingun 2024-08-17 16:05:34 +05:00
  • 6588b0ad37 Cover Content::Seq case in VariantRefDeserializer::struct_variant Mingun 2024-08-17 15:26:59 +05:00
  • 0093f74cfe Split test newtype_enum into four tests for each variant Mingun 2024-08-17 14:53:41 +05:00
  • 171c6da57a Complete coverage of ContentRefDeserializer::deserialize_newtype_struct Mingun 2024-08-17 11:31:50 +05:00
  • 2dddc7796d Cover ContentRefDeserializer::deserialize_option Mingun 2024-08-17 11:58:28 +05:00
  • 8514f4119a Remove unnecessary generics Mingun 2024-08-17 12:48:27 +05:00
  • 98fb7d94aa Move all untagged enum tests (except flatten) into a dedicated module Mingun 2024-08-17 01:32:20 +05:00
  • 31ca16d9bc
    Merge pull request #2804 from Mingun/adjacently-tagged-tests David Tolnay 2024-08-23 14:12:41 -07:00
  • 9f72ce695e Struct: add tests for deserialization from sequence Mingun 2024-08-16 22:22:26 +05:00
  • c383e4f953 Tuple: add tests for deserialization from sequence Mingun 2024-08-16 22:18:20 +05:00
  • a94d8750fb Newtype: move up the test with tag only Mingun 2024-08-16 22:12:33 +05:00
  • b0d651be40 Newtype: add tests for deserialization from sequence Mingun 2024-08-16 22:10:26 +05:00
  • d5a9c11b5c No need to test integer and byte array field names, they already tested for Unit case Mingun 2024-08-16 22:46:41 +05:00
  • 6bfe1c435a Unit: add tests for deserialization from bytes tag and content fields Mingun 2024-08-16 22:35:54 +05:00
  • a02da49b87 Unit: add tests for deserialization from integer tag and content fields Mingun 2024-08-12 01:06:51 +05:00
  • 29dc6c3367 Unit: add tests for deserialization from sequence Mingun 2024-08-12 00:45:29 +05:00
  • a7f0bab078 Document fields in internal structs used to deserialize adjacently tagged enums Mingun 2024-08-12 00:49:58 +05:00
  • 3dc6829303 Integrate bytes test into struct_ test Mingun 2023-08-14 03:05:50 +05:00
  • 42e63ff942 Reuse AdjacentlyTagged enum in bytes test Mingun 2023-08-14 02:59:20 +05:00
  • df07751e6f Group newtype and newtype_with_newtype tests Mingun 2024-08-11 23:11:31 +05:00
  • 5445f1741b Reuse AdjacentlyTagged enum in newtype_with_newtype test Mingun 2024-08-11 23:10:12 +05:00
  • 9d0f811221 Remove unnecessary generic Mingun 2024-08-11 23:08:25 +05:00
  • 36b9a859c4 Test deserialization of the serialized unit format for adjacently tagged enum Mingun 2024-08-11 23:03:26 +05:00
  • 59628d1712 Create only one value for all checks Mingun 2023-08-14 02:48:56 +05:00
  • bee7470715 Split test test_adjacently_tagged_enum into four tests for each variant Mingun 2023-08-14 02:19:31 +05:00
  • 5a359e10f4 Group Newtype variant checks in test_adjacently_tagged_enum together Mingun 2023-08-14 01:57:15 +05:00
  • 5e37ade519 Move all adjacently tagged enum tests (except flatten) into a dedicated module Mingun 2023-08-14 01:46:37 +05:00
  • 1a9ffdbd0c
    Merge pull request #2788 from Mingun/internally-tagged-enum-tests David Tolnay 2024-08-15 14:42:28 -07:00
  • 2adb0e99b0 Add additional checks for unit and newtype_unit tests Mingun 2023-08-08 01:56:51 +05:00
  • 71ed1f2f12 Add tests for special and general cases for internally tagged enums Mingun 2022-10-03 23:07:12 +05:00
  • 47954502af Add tests with borrowed strings for the tag field name and tag value Mingun 2023-08-08 01:20:15 +05:00
  • 4987fd15f7 Convert newtype_enum and struct_enum tests into modules Mingun 2023-08-08 00:54:36 +05:00
  • 8bfe0d0ac0 Move and rename tests: Mingun 2023-08-07 22:51:46 +05:00
  • 7c0e6bd18f Reuse type in struct_variant_containing_unit_variant Mingun 2023-08-07 22:55:35 +05:00
  • 41b9c33c2b Reuse type in newtype_variant_containing_externally_tagged_enum Mingun 2023-08-07 21:58:50 +05:00
  • 28a775db22 Share externally tagged enum Enum between all tests and reuse in struct_variant_containing_unit_variant Mingun 2023-08-07 21:30:37 +05:00
  • e999600f8f Rename externally tagged enum Inner to Enum Mingun 2023-08-07 21:20:28 +05:00
  • d3492d8d36 Reuse type in newtype_variant_containing_unit_struct Mingun 2023-08-07 21:53:32 +05:00
  • 48de0c51b0 Share unit struct Unit between all tests Mingun 2023-08-07 21:36:16 +05:00
  • 93bda5f1dc Rename unit struct to a generic name: Info->Unit Mingun 2023-08-07 21:35:02 +05:00
  • 2d75ef6b30 Reuse type in newtype_variant_containing_unit Mingun 2023-08-07 21:47:55 +05:00
  • f97160f715 Reuse type in unit_variant_with_unknown_fields and add test for sequence Mingun 2023-08-07 21:42:47 +05:00
  • eb59c776ca Use name "tag" to refer to tag field Mingun 2023-08-07 21:15:21 +05:00
  • 9128201c78 Use the same order of derives Mingun 2023-08-07 21:12:23 +05:00
  • 2cbfd37072 Move all other internally tagged enum tests into a dedicated file Mingun 2023-07-28 00:46:02 +05:00
  • 0939214c51 Move internally tagged enum tests into a dedicated file Mingun 2023-07-28 00:30:15 +05:00
  • 8c60f5aea7 Reorder enum variants and tests to canonical order (Unit, Newtype, Tuple, Struct) Mingun 2023-04-22 20:54:00 +05:00
  • da0ed4021d Give meaningful names to enum variants Mingun 2023-04-22 20:51:00 +05:00
  • 99f905403b Move all internally tagged enum tests of test_macros into a dedicated module Mingun 2023-07-27 23:42:58 +05:00
  • aa0654332d Convert test_internally_tagged_enum into module Mingun 2023-04-22 20:36:41 +05:00
  • af376c22c3
    Merge pull request #2803 from jonhoo/mv-flatten-tests David Tolnay 2024-08-15 10:53:49 -07:00
  • 477eb7b70e
    Group flatten tests Jon Gjengset 2024-08-15 18:28:49 +02:00
  • 026e91a68c
    Release 1.0.208 David Tolnay 2024-08-15 08:41:27 -07:00
  • bfbedac919
    Merge pull request #2802 from jonhoo/flatten-unit-struct David Tolnay 2024-08-15 08:40:11 -07:00
  • 4036ff88ed
    Support (de-)serializing flattened unit struct Jon Gjengset 2024-08-15 15:50:40 +02:00
  • 1b4da41f97
    Release 1.0.207 David Tolnay 2024-08-12 13:06:46 -07:00
  • f61d452814
    Touch up PR 2795 David Tolnay 2024-08-12 13:00:04 -07:00
  • f9866097a0
    Merge pull request #2795 from Mingun/has-flatten-rework David Tolnay 2024-08-12 13:02:58 -07:00
  • 77a6a9d4e1 Take into account only not skipped flatten fields when choose serialization form Mingun 2024-08-11 19:56:27 +05:00
  • 547d843cca Remove dead code - serialize_struct_as_map always called when cattrs.has_flatten()==true Mingun 2024-08-11 19:22:47 +05:00
  • 005cb84593 Fail with an understandable message is number of fields for serialization is too many Mingun 2024-08-11 20:00:02 +05:00
  • fd5b5e9aa5 Correctly calculate has_flatten attribute in all cases for deserialization Mingun 2024-08-11 18:46:31 +05:00
  • 0647a7c1fe Fix creating and filling a collections that was not read Mingun 2024-08-11 18:16:19 +05:00
  • 85c73ef8de
    Release 1.0.206 David Tolnay 2024-08-11 00:06:36 -07:00
  • 5ba1796a7e
    Resolve doc_markdown pedantic lint on regression test function David Tolnay 2024-08-11 00:08:11 -07:00
  • e52b7b380f
    Touch up PR 2567 David Tolnay 2024-08-10 23:34:36 -07:00
  • 84c7419652
    Merge pull request #2794 from dtolnay/neverread David Tolnay 2024-08-11 00:05:31 -07:00
  • 536221b1f9
    Temporarily ignore collection_is_never_read on FlattenSkipDeserializing David Tolnay 2024-08-10 23:58:58 -07:00
  • fc55ac70d3
    Merge pull request #2567 from Mingun/fix-2565 David Tolnay 2024-08-10 23:28:22 -07:00
  • 2afe5b4ef9 Add regression test for issue #2792 Mingun 2024-08-10 21:29:39 +05:00
  • b4ec2595c9 Correctly process flatten fields in enum variants Mingun 2023-07-24 00:57:47 +05:00
  • c3ac7b675a Add regression test for issue #1904 Mingun 2022-10-05 22:35:28 +05:00