fix(deps): update rust crate serde to v1.0.203 #13

Merged
realaravinth merged 1 commit from renovate/serde-monorepo into master 2024-06-10 14:17:28 +05:30
Member

This PR contains the following updates:

Package Type Update Change
serde (source) dependencies patch 1.0.145 -> 1.0.203
serde (source) dependencies patch 1.0.149 -> 1.0.203

Release Notes

serde-rs/serde (serde)

v1.0.203

Compare Source

v1.0.202

Compare Source

  • Provide public access to RenameAllRules in serde_derive_internals (#​2743)

v1.0.201

Compare Source

  • Resolve unexpected_cfgs warning (#​2737)

v1.0.200

Compare Source

  • Fix formatting of "invalid type" and "invalid value" deserialization error messages containing NaN or infinite floats (#​2733, thanks @​jamessan)

v1.0.199

Compare Source

  • Fix ambiguous associated item when forward_to_deserialize_any! is used on an enum with Error variant (#​2732, thanks @​aatifsyed)

v1.0.198

Compare Source

v1.0.197

Compare Source

  • Fix unused_imports warnings when compiled by rustc 1.78
  • Optimize code size of some Display impls (#​2697, thanks @​nyurik)

v1.0.196

Compare Source

  • Improve formatting of "invalid type" error messages involving floats (#​2682)

v1.0.195

Compare Source

  • Prevent remote definitions of tuple struct or tuple variant from triggering dead_code warning (#​2671)

v1.0.194

Compare Source

  • Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache

v1.0.193

Compare Source

v1.0.192

Compare Source

v1.0.191

Compare Source

  • Documentation improvements

v1.0.190

Compare Source

  • Preserve NaN sign when deserializing f32 from f64 or vice versa (#​2637)

v1.0.189

Compare Source

  • Fix "cannot infer type" error when internally tagged enum contains untagged variant (#​2613, thanks @​ahl)

v1.0.188

Compare Source

  • Fix "failed to parse manifest" error when building serde using a Cargo version between 1.45 and 1.50 (#​2603)

v1.0.187

Compare Source

  • Remove support for Emscripten targets on rustc older than 1.40 (#​2600)

v1.0.186

Compare Source

  • Disallow incompatible versions of serde_derive and serde in the dependency graph (#​2588, thanks @​soqb)

v1.0.185

Compare Source

  • Fix error "cannot move out of *self which is behind a shared reference" deriving Serialize on a non_exhaustive enum (#​2591)

v1.0.184

Compare Source

  • Restore from-source serde_derive build on all platforms — eventually we'd like to use a first-class precompiled macro if such a thing becomes supported by cargo / crates.io

v1.0.183

Compare Source

  • Support deserializing Box<OsStr> with an equivalent representation as OsString (#​2556, thanks @​DBLouis)

v1.0.182

Compare Source

v1.0.181

Compare Source

  • Make serde(alias) work in combination with flatten when using in-place deserialization (#​2443, thanks @​Mingun)
  • Improve the representation of adjacently tagged enums in formats where enum tags are serialized by index, as opposed to by string name (#​2505, #​2496, thanks @​Baptistemontan)

v1.0.180

Compare Source

  • Update to 2018 edition

v1.0.179

Compare Source

  • Support serialization of tuple variants inside a flattened field (#​2448, thanks @​Mingun)

v1.0.178

Compare Source

  • Fix build error when using serde with "std" feature turned off and "unstable" feature turned on (#​2541)

v1.0.177

Compare Source

  • Add serde(rename_all_fields = "...") attribute to apply a rename_all on every struct variant of an enum (#​1695, thanks @​jplatte)
  • Improve diagnostics for attribute parse errors (#​2536, thanks @​jplatte)

v1.0.176

Compare Source

  • Allow tag field of an internally tagged enum to have same name as a field inside a skipped struct variant (#​2266, thanks @​flisky)

v1.0.175

Compare Source

v1.0.174

Compare Source

  • Documentation improvements

v1.0.173

Compare Source

  • Fix missing trait implementations when using serde derive macro on a macro-generated data structure, such as via the bitflags crate (#​2516)

v1.0.172

Compare Source

  • Experiment with precompiling the serde_derive macros to reduce build time (#​2514)

v1.0.171

Compare Source

v1.0.170

Compare Source

  • Produce error message on suffixed string literals inside serde attributes (#​2242)
  • Support single identifier as unbraced default value for const generic parameter (#​2449)

v1.0.169

Compare Source

  • Add Deserializer::deserialize_identifier support for adjacently tagged enums (#​2475, thanks @​Baptistemontan)
  • Fix unused_braces lint in generated Deserialize impl that uses braced const generic expressions (#​2414)

v1.0.168

Compare Source

  • Allow serde::de::IgnoredAny to be the type for a serde(flatten) field (#​2436, thanks @​Mingun)
  • Allow larger preallocated capacity for smaller elements (#​2494)

v1.0.167

Compare Source

  • Add serialize and deserialize impls for RangeFrom and RangeTo (#​2471, thanks @​tbu-)

v1.0.166

Compare Source

  • Add no-alloc category to crates.io metadata

v1.0.165

Compare Source

  • Fix incorrect count of fields passed to tuple deserialization methods when using serde(skip_deserializing) attributes (#​2466, thanks @​Mingun)
  • Fix -Zminimal-versions build

v1.0.164

Compare Source

v1.0.163

Compare Source

  • Eliminate build script from serde_derive crate to slightly reduce build time (#​2442, thanks @​taiki-e)

v1.0.162

Compare Source

  • Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the csv crate (#​2377, thanks @​mfro)

    #[derive(Deserialize)]
    pub struct Record {
        common: u64,
        #[serde(flatten)]
        kind: Kind,
    }
    
    #[derive(Deserialize)]
    #[serde(tag = "kind", content = "parameter", rename_all = "lowercase")]
    enum Kind {
        Foo(u64),
        Bar(bool),
    }
    
    common,kind,parameter
    1,foo,42
    2,bar,true
    

v1.0.161

Compare Source

  • Improve error messages produced by serde_test on test failure (#​2435, thanks @​Mingun)

v1.0.160

Compare Source

v1.0.159

Compare Source

  • Accept empty #[serde()] attribute (#​2422)

v1.0.158

Compare Source

  • Fix "expected serde crate attribute to be a string" error when using macro_rules metavariable inside of serde attribute: #[serde(crate = $serde_path)] (#​2409)

v1.0.157

Compare Source

  • Update syn dependency to 2.x

v1.0.156

Compare Source

  • Documentation improvements

v1.0.155

Compare Source

  • Support Serialize and Deserialize impls for core::ffi::CStr and alloc::ffi::CString without "std" feature (#​2374, thanks @​safarir)

v1.0.154

Compare Source

  • Fix "undeclared lifetime" error in generated code when deriving Deserialize for an enum with both flatten and 'static fields (#​2383, thanks @​Mingun)

v1.0.153

Compare Source

  • Support serde(alias = "…") attribute used inside of flattened struct (#​2387, thanks @​bebecue)

v1.0.152

Compare Source

  • Documentation improvements

v1.0.151

Compare Source

  • Update serde::{ser,de}::StdError to re-export core::error::Error when serde is built with feature="std" off and feature="unstable" on (#​2344)

v1.0.150

Compare Source

  • Relax some trait bounds from the Serialize impl of HashMap and BTreeMap (#​2334)
  • Enable Serialize and Deserialize impls of std::sync::atomic types on more platforms (#​2337, thanks @​badboy)

v1.0.149

Compare Source

  • Relax some trait bounds from the Serialize impl of BinaryHeap, BTreeSet, and HashSet (#​2333, thanks @​jonasbb)

v1.0.148

Compare Source

  • Support remote derive for generic types that have private fields (#​2327)

v1.0.147

Compare Source

  • Add serde::de::value::EnumAccessDeserializer which transforms an EnumAccess into a Deserializer (#​2305)

v1.0.146

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [serde](https://serde.rs) ([source](https://github.com/serde-rs/serde)) | dependencies | patch | `1.0.145` -> `1.0.203` | | [serde](https://serde.rs) ([source](https://github.com/serde-rs/serde)) | dependencies | patch | `1.0.149` -> `1.0.203` | --- ### Release Notes <details> <summary>serde-rs/serde (serde)</summary> ### [`v1.0.203`](https://github.com/serde-rs/serde/releases/tag/v1.0.203) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203) - Documentation improvements ([#&#8203;2747](https://github.com/serde-rs/serde/issues/2747)) ### [`v1.0.202`](https://github.com/serde-rs/serde/releases/tag/v1.0.202) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.201...v1.0.202) - Provide public access to RenameAllRules in serde_derive_internals ([#&#8203;2743](https://github.com/serde-rs/serde/issues/2743)) ### [`v1.0.201`](https://github.com/serde-rs/serde/releases/tag/v1.0.201) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.200...v1.0.201) - Resolve unexpected_cfgs warning ([#&#8203;2737](https://github.com/serde-rs/serde/issues/2737)) ### [`v1.0.200`](https://github.com/serde-rs/serde/releases/tag/v1.0.200) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.199...v1.0.200) - Fix formatting of "invalid type" and "invalid value" deserialization error messages containing NaN or infinite floats ([#&#8203;2733](https://github.com/serde-rs/serde/issues/2733), thanks [@&#8203;jamessan](https://github.com/jamessan)) ### [`v1.0.199`](https://github.com/serde-rs/serde/releases/tag/v1.0.199) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.198...v1.0.199) - Fix ambiguous associated item when `forward_to_deserialize_any!` is used on an enum with `Error` variant ([#&#8203;2732](https://github.com/serde-rs/serde/issues/2732), thanks [@&#8203;aatifsyed](https://github.com/aatifsyed)) ### [`v1.0.198`](https://github.com/serde-rs/serde/releases/tag/v1.0.198) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198) - Support serializing and deserializing `Saturating<T>` ([#&#8203;2709](https://github.com/serde-rs/serde/issues/2709), thanks [@&#8203;jbethune](https://github.com/jbethune)) ### [`v1.0.197`](https://github.com/serde-rs/serde/releases/tag/v1.0.197) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197) - Fix unused_imports warnings when compiled by rustc 1.78 - Optimize code size of some Display impls ([#&#8203;2697](https://github.com/serde-rs/serde/issues/2697), thanks [@&#8203;nyurik](https://github.com/nyurik)) ### [`v1.0.196`](https://github.com/serde-rs/serde/releases/tag/v1.0.196) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196) - Improve formatting of "invalid type" error messages involving floats ([#&#8203;2682](https://github.com/serde-rs/serde/issues/2682)) ### [`v1.0.195`](https://github.com/serde-rs/serde/releases/tag/v1.0.195) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.194...v1.0.195) - Prevent remote definitions of tuple struct or tuple variant from triggering dead_code warning ([#&#8203;2671](https://github.com/serde-rs/serde/issues/2671)) ### [`v1.0.194`](https://github.com/serde-rs/serde/releases/tag/v1.0.194) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.193...v1.0.194) - Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache ### [`v1.0.193`](https://github.com/serde-rs/serde/releases/tag/v1.0.193) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193) - Fix field names used for the deserialization of `RangeFrom` and `RangeTo` ([#&#8203;2653](https://github.com/serde-rs/serde/issues/2653), [#&#8203;2654](https://github.com/serde-rs/serde/issues/2654), [#&#8203;2655](https://github.com/serde-rs/serde/issues/2655), thanks [@&#8203;emilbonnek](https://github.com/emilbonnek)) ### [`v1.0.192`](https://github.com/serde-rs/serde/releases/tag/v1.0.192) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.191...v1.0.192) - Allow internal tag field in untagged variant ([#&#8203;2646](https://github.com/serde-rs/serde/issues/2646), thanks [@&#8203;robsdedude](https://github.com/robsdedude)) ### [`v1.0.191`](https://github.com/serde-rs/serde/releases/tag/v1.0.191) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.191) - Documentation improvements ### [`v1.0.190`](https://github.com/serde-rs/serde/releases/tag/v1.0.190) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.189...v1.0.190) - Preserve NaN sign when deserializing f32 from f64 or vice versa ([#&#8203;2637](https://github.com/serde-rs/serde/issues/2637)) ### [`v1.0.189`](https://github.com/serde-rs/serde/releases/tag/v1.0.189) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.189) - Fix "cannot infer type" error when internally tagged enum contains untagged variant ([#&#8203;2613](https://github.com/serde-rs/serde/issues/2613), thanks [@&#8203;ahl](https://github.com/ahl)) ### [`v1.0.188`](https://github.com/serde-rs/serde/releases/tag/v1.0.188) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.187...v1.0.188) - Fix *"failed to parse manifest"* error when building serde using a Cargo version between 1.45 and 1.50 ([#&#8203;2603](https://github.com/serde-rs/serde/issues/2603)) ### [`v1.0.187`](https://github.com/serde-rs/serde/releases/tag/v1.0.187) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.186...v1.0.187) - Remove support for Emscripten targets on rustc older than 1.40 ([#&#8203;2600](https://github.com/serde-rs/serde/issues/2600)) ### [`v1.0.186`](https://github.com/serde-rs/serde/releases/tag/v1.0.186) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.186) - Disallow incompatible versions of `serde_derive` and `serde` in the dependency graph ([#&#8203;2588](https://github.com/serde-rs/serde/issues/2588), thanks [@&#8203;soqb](https://github.com/soqb)) ### [`v1.0.185`](https://github.com/serde-rs/serde/releases/tag/v1.0.185) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.184...v1.0.185) - Fix error *"cannot move out of `*self` which is behind a shared reference"* deriving Serialize on a non_exhaustive enum ([#&#8203;2591](https://github.com/serde-rs/serde/issues/2591)) ### [`v1.0.184`](https://github.com/serde-rs/serde/releases/tag/v1.0.184) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.184) - Restore from-source `serde_derive` build on all platforms — eventually we'd like to use a first-class precompiled macro if such a thing becomes supported by cargo / crates.io ### [`v1.0.183`](https://github.com/serde-rs/serde/releases/tag/v1.0.183) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.182...v1.0.183) - Support deserializing `Box<OsStr>` with an equivalent representation as `OsString` ([#&#8203;2556](https://github.com/serde-rs/serde/issues/2556), thanks [@&#8203;DBLouis](https://github.com/DBLouis)) ### [`v1.0.182`](https://github.com/serde-rs/serde/releases/tag/v1.0.182) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.181...v1.0.182) - Render field aliases in sorted order in error messages ([#&#8203;2458](https://github.com/serde-rs/serde/issues/2458), thanks [@&#8203;Mingun](https://github.com/Mingun)) - Support `serde(default)` on tuple structs ([#&#8203;2553](https://github.com/serde-rs/serde/issues/2553), thanks [@&#8203;Mingun](https://github.com/Mingun)) ### [`v1.0.181`](https://github.com/serde-rs/serde/releases/tag/v1.0.181) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.181) - Make `serde(alias)` work in combination with `flatten` when using in-place deserialization ([#&#8203;2443](https://github.com/serde-rs/serde/issues/2443), thanks [@&#8203;Mingun](https://github.com/Mingun)) - Improve the representation of adjacently tagged enums in formats where enum tags are serialized by index, as opposed to by string name ([#&#8203;2505](https://github.com/serde-rs/serde/issues/2505), [#&#8203;2496](https://github.com/serde-rs/serde/issues/2496), thanks [@&#8203;Baptistemontan](https://github.com/Baptistemontan)) ### [`v1.0.180`](https://github.com/serde-rs/serde/releases/tag/v1.0.180) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.180) - Update to 2018 edition ### [`v1.0.179`](https://github.com/serde-rs/serde/releases/tag/v1.0.179) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.178...v1.0.179) - Support serialization of tuple variants inside a flattened field ([#&#8203;2448](https://github.com/serde-rs/serde/issues/2448), thanks [@&#8203;Mingun](https://github.com/Mingun)) ### [`v1.0.178`](https://github.com/serde-rs/serde/releases/tag/v1.0.178) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.177...v1.0.178) - Fix build error when using serde with "std" feature turned off and "unstable" feature turned on ([#&#8203;2541](https://github.com/serde-rs/serde/issues/2541)) ### [`v1.0.177`](https://github.com/serde-rs/serde/releases/tag/v1.0.177) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177) - Add `serde(rename_all_fields = "...")` attribute to apply a `rename_all` on every struct variant of an enum ([#&#8203;1695](https://github.com/serde-rs/serde/issues/1695), thanks [@&#8203;jplatte](https://github.com/jplatte)) - Improve diagnostics for attribute parse errors ([#&#8203;2536](https://github.com/serde-rs/serde/issues/2536), thanks [@&#8203;jplatte](https://github.com/jplatte)) ### [`v1.0.176`](https://github.com/serde-rs/serde/releases/tag/v1.0.176) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.176) - Allow tag field of an internally tagged enum to have same name as a field inside a skipped struct variant ([#&#8203;2266](https://github.com/serde-rs/serde/issues/2266), thanks [@&#8203;flisky](https://github.com/flisky)) ### [`v1.0.175`](https://github.com/serde-rs/serde/releases/tag/v1.0.175) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.174...v1.0.175) - Restore missing LICENSE files in serde_derive crate ([#&#8203;2527](https://github.com/serde-rs/serde/issues/2527), thanks [@&#8203;ankane](https://github.com/ankane)) ### [`v1.0.174`](https://github.com/serde-rs/serde/releases/tag/v1.0.174) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.173...v1.0.174) - Documentation improvements ### [`v1.0.173`](https://github.com/serde-rs/serde/releases/tag/v1.0.173) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.172...v1.0.173) - Fix missing trait implementations when using serde derive macro on a macro-generated data structure, such as via the `bitflags` crate ([#&#8203;2516](https://github.com/serde-rs/serde/issues/2516)) ### [`v1.0.172`](https://github.com/serde-rs/serde/releases/tag/v1.0.172) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.172) - Experiment with precompiling the serde_derive macros to reduce build time ([#&#8203;2514](https://github.com/serde-rs/serde/issues/2514)) ### [`v1.0.171`](https://github.com/serde-rs/serde/releases/tag/v1.0.171) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.170...v1.0.171) - Support `derive(Deserialize)` on unit structs that have const generics ([#&#8203;2500](https://github.com/serde-rs/serde/issues/2500), thanks [@&#8203;Baptistemontan](https://github.com/Baptistemontan)) ### [`v1.0.170`](https://github.com/serde-rs/serde/releases/tag/v1.0.170) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.169...v1.0.170) - Produce error message on suffixed string literals inside serde attributes ([#&#8203;2242](https://github.com/serde-rs/serde/issues/2242)) - Support single identifier as unbraced default value for const generic parameter ([#&#8203;2449](https://github.com/serde-rs/serde/issues/2449)) ### [`v1.0.169`](https://github.com/serde-rs/serde/releases/tag/v1.0.169) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.168...v1.0.169) - Add Deserializer::deserialize_identifier support for adjacently tagged enums ([#&#8203;2475](https://github.com/serde-rs/serde/issues/2475), thanks [@&#8203;Baptistemontan](https://github.com/Baptistemontan)) - Fix unused_braces lint in generated Deserialize impl that uses braced const generic expressions ([#&#8203;2414](https://github.com/serde-rs/serde/issues/2414)) ### [`v1.0.168`](https://github.com/serde-rs/serde/releases/tag/v1.0.168) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.167...v1.0.168) - Allow `serde::de::IgnoredAny` to be the type for a `serde(flatten)` field ([#&#8203;2436](https://github.com/serde-rs/serde/issues/2436), thanks [@&#8203;Mingun](https://github.com/Mingun)) - Allow larger preallocated capacity for smaller elements ([#&#8203;2494](https://github.com/serde-rs/serde/issues/2494)) ### [`v1.0.167`](https://github.com/serde-rs/serde/releases/tag/v1.0.167) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.167) - Add serialize and deserialize impls for `RangeFrom` and `RangeTo` ([#&#8203;2471](https://github.com/serde-rs/serde/issues/2471), thanks [@&#8203;tbu-](https://github.com/tbu-)) ### [`v1.0.166`](https://github.com/serde-rs/serde/releases/tag/v1.0.166) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.165...v1.0.166) - Add `no-alloc` category to crates.io metadata ### [`v1.0.165`](https://github.com/serde-rs/serde/releases/tag/v1.0.165) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.165) - Fix incorrect count of fields passed to tuple deserialization methods when using `serde(skip_deserializing)` attributes ([#&#8203;2466](https://github.com/serde-rs/serde/issues/2466), thanks [@&#8203;Mingun](https://github.com/Mingun)) - Fix `-Zminimal-versions` build ### [`v1.0.164`](https://github.com/serde-rs/serde/releases/tag/v1.0.164) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164) - Allowed enum variants to be individually marked as untagged ([#&#8203;2403](https://github.com/serde-rs/serde/issues/2403), thanks [@&#8203;dewert99](https://github.com/dewert99)) ### [`v1.0.163`](https://github.com/serde-rs/serde/releases/tag/v1.0.163) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163) - Eliminate build script from serde_derive crate to slightly reduce build time ([#&#8203;2442](https://github.com/serde-rs/serde/issues/2442), thanks [@&#8203;taiki-e](https://github.com/taiki-e)) ### [`v1.0.162`](https://github.com/serde-rs/serde/releases/tag/v1.0.162) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.161...v1.0.162) - Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the `csv` crate ([#&#8203;2377](https://github.com/serde-rs/serde/issues/2377), thanks [@&#8203;mfro](https://github.com/mfro)) ```rust #[derive(Deserialize)] pub struct Record { common: u64, #[serde(flatten)] kind: Kind, } #[derive(Deserialize)] #[serde(tag = "kind", content = "parameter", rename_all = "lowercase")] enum Kind { Foo(u64), Bar(bool), } ``` ```csv common,kind,parameter 1,foo,42 2,bar,true ``` ### [`v1.0.161`](https://github.com/serde-rs/serde/releases/tag/v1.0.161) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.160...v1.0.161) - Improve error messages produced by serde_test on test failure ([#&#8203;2435](https://github.com/serde-rs/serde/issues/2435), thanks [@&#8203;Mingun](https://github.com/Mingun)) ### [`v1.0.160`](https://github.com/serde-rs/serde/releases/tag/v1.0.160) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.159...v1.0.160) - Make derived serializer/deserializer internals `doc(hidden)` ([#&#8203;2426](https://github.com/serde-rs/serde/issues/2426), thanks [@&#8203;compiler-errors](https://github.com/compiler-errors)) ### [`v1.0.159`](https://github.com/serde-rs/serde/releases/tag/v1.0.159) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.158...v1.0.159) - Accept empty #\[serde()] attribute ([#&#8203;2422](https://github.com/serde-rs/serde/issues/2422)) ### [`v1.0.158`](https://github.com/serde-rs/serde/releases/tag/v1.0.158) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.157...v1.0.158) - Fix *"expected serde crate attribute to be a string"* error when using macro_rules metavariable inside of serde attribute: `#[serde(crate = $serde_path)]` ([#&#8203;2409](https://github.com/serde-rs/serde/issues/2409)) ### [`v1.0.157`](https://github.com/serde-rs/serde/releases/tag/v1.0.157) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.156...v1.0.157) - Update syn dependency to 2.x ### [`v1.0.156`](https://github.com/serde-rs/serde/releases/tag/v1.0.156) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.155...v1.0.156) - Documentation improvements ### [`v1.0.155`](https://github.com/serde-rs/serde/releases/tag/v1.0.155) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.154...v1.0.155) - Support `Serialize` and `Deserialize` impls for `core::ffi::CStr` and `alloc::ffi::CString` without "std" feature ([#&#8203;2374](https://github.com/serde-rs/serde/issues/2374), thanks [@&#8203;safarir](https://github.com/safarir)) ### [`v1.0.154`](https://github.com/serde-rs/serde/releases/tag/v1.0.154) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.153...v1.0.154) - Fix "undeclared lifetime" error in generated code when deriving Deserialize for an enum with both `flatten` and `'static` fields ([#&#8203;2383](https://github.com/serde-rs/serde/issues/2383), thanks [@&#8203;Mingun](https://github.com/Mingun)) ### [`v1.0.153`](https://github.com/serde-rs/serde/releases/tag/v1.0.153) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.153) - Support `serde(alias = "…")` attribute used inside of flattened struct ([#&#8203;2387](https://github.com/serde-rs/serde/issues/2387), thanks [@&#8203;bebecue](https://github.com/bebecue)) ### [`v1.0.152`](https://github.com/serde-rs/serde/releases/tag/v1.0.152) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152) - Documentation improvements ### [`v1.0.151`](https://github.com/serde-rs/serde/releases/tag/v1.0.151) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.150...v1.0.151) - Update `serde::`{`ser`,`de`}`::StdError` to re-export `core::error::Error` when serde is built with `feature="std"` **off** and `feature="unstable"` **on** ([#&#8203;2344](https://github.com/serde-rs/serde/issues/2344)) ### [`v1.0.150`](https://github.com/serde-rs/serde/releases/tag/v1.0.150) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.149...v1.0.150) - Relax some trait bounds from the `Serialize` impl of `HashMap` and `BTreeMap` ([#&#8203;2334](https://github.com/serde-rs/serde/issues/2334)) - Enable `Serialize` and `Deserialize` impls of `std::sync::atomic` types on more platforms ([#&#8203;2337](https://github.com/serde-rs/serde/issues/2337), thanks [@&#8203;badboy](https://github.com/badboy)) ### [`v1.0.149`](https://github.com/serde-rs/serde/releases/tag/v1.0.149) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.148...v1.0.149) - Relax some trait bounds from the `Serialize` impl of `BinaryHeap`, `BTreeSet`, and `HashSet` ([#&#8203;2333](https://github.com/serde-rs/serde/issues/2333), thanks [@&#8203;jonasbb](https://github.com/jonasbb)) ### [`v1.0.148`](https://github.com/serde-rs/serde/releases/tag/v1.0.148) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.148) - Support `remote` derive for generic types that have private fields ([#&#8203;2327](https://github.com/serde-rs/serde/issues/2327)) ### [`v1.0.147`](https://github.com/serde-rs/serde/releases/tag/v1.0.147) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.146...v1.0.147) - Add `serde::de::value::EnumAccessDeserializer` which transforms an `EnumAccess` into a `Deserializer` ([#&#8203;2305](https://github.com/serde-rs/serde/issues/2305)) ### [`v1.0.146`](https://github.com/serde-rs/serde/releases/tag/v1.0.146) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.146) - Allow internally tagged newtype variant to contain unit ([#&#8203;2303](https://github.com/serde-rs/serde/issues/2303), thanks [@&#8203;tage64](https://github.com/tage64)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM4OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlLWJvdCJdfQ==-->
renovate-bot added the
renovate-bot
label 2024-06-04 10:21:44 +05:30
renovate-bot force-pushed renovate/serde-monorepo from 8275b65b5a to 09756b6301 2024-06-10 13:00:40 +05:30 Compare
realaravinth merged commit f580c49a97 into master 2024-06-10 14:17:28 +05:30
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LibrePages/conductor#13
No description provided.