Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Rust crate serde to 1.0.188 (#41)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [serde](https://serde.rs) ([source](https://togithub.com/serde-rs/serde)) | workspace.dependencies | patch | `1.0.152` -> `1.0.188` | --- ### Release Notes <details> <summary>serde-rs/serde (serde)</summary> ### [`v1.0.188`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.188) [Compare Source](https://togithub.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 ([#​2603](https://togithub.com/serde-rs/serde/issues/2603)) ### [`v1.0.187`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.187) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.186...v1.0.187) - Remove support for Emscripten targets on rustc older than 1.40 ([#​2600](https://togithub.com/serde-rs/serde/issues/2600)) ### [`v1.0.186`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.186) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.185...v1.0.186) - Disallow incompatible versions of `serde_derive` and `serde` in the dependency graph ([#​2588](https://togithub.com/serde-rs/serde/issues/2588), thanks [@​soqb](https://togithub.com/soqb)) ### [`v1.0.185`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.185) [Compare Source](https://togithub.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 ([#​2591](https://togithub.com/serde-rs/serde/issues/2591)) ### [`v1.0.184`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.184) [Compare Source](https://togithub.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://togithub.com/serde-rs/serde/releases/tag/v1.0.183) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.182...v1.0.183) - Support deserializing `Box<OsStr>` with an equivalent representation as `OsString` ([#​2556](https://togithub.com/serde-rs/serde/issues/2556), thanks [@​DBLouis](https://togithub.com/DBLouis)) ### [`v1.0.182`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.182) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.181...v1.0.182) - Render field aliases in sorted order in error messages ([#​2458](https://togithub.com/serde-rs/serde/issues/2458), thanks [@​Mingun](https://togithub.com/Mingun)) - Support `serde(default)` on tuple structs ([#​2553](https://togithub.com/serde-rs/serde/issues/2553), thanks [@​Mingun](https://togithub.com/Mingun)) ### [`v1.0.181`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.181) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.180...v1.0.181) - Make `serde(alias)` work in combination with `flatten` when using in-place deserialization ([#​2443](https://togithub.com/serde-rs/serde/issues/2443), thanks [@​Mingun](https://togithub.com/Mingun)) - Improve the representation of adjacently tagged enums in formats where enum tags are serialized by index, as opposed to by string name ([#​2505](https://togithub.com/serde-rs/serde/issues/2505), [#​2496](https://togithub.com/serde-rs/serde/issues/2496), thanks [@​Baptistemontan](https://togithub.com/Baptistemontan)) ### [`v1.0.180`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.180) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.179...v1.0.180) - Update to 2018 edition ### [`v1.0.179`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.179) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.178...v1.0.179) - Support serialization of tuple variants inside a flattened field ([#​2448](https://togithub.com/serde-rs/serde/issues/2448), thanks [@​Mingun](https://togithub.com/Mingun)) ### [`v1.0.178`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.178) [Compare Source](https://togithub.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 ([#​2541](https://togithub.com/serde-rs/serde/issues/2541)) ### [`v1.0.177`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.177) [Compare Source](https://togithub.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 ([#​1695](https://togithub.com/serde-rs/serde/issues/1695), thanks [@​jplatte](https://togithub.com/jplatte)) - Improve diagnostics for attribute parse errors ([#​2536](https://togithub.com/serde-rs/serde/issues/2536), thanks [@​jplatte](https://togithub.com/jplatte)) ### [`v1.0.176`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.176) [Compare Source](https://togithub.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 ([#​2266](https://togithub.com/serde-rs/serde/issues/2266), thanks [@​flisky](https://togithub.com/flisky)) ### [`v1.0.175`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.175) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.174...v1.0.175) - Restore missing LICENSE files in serde_derive crate ([#​2527](https://togithub.com/serde-rs/serde/issues/2527), thanks [@​ankane](https://togithub.com/ankane)) ### [`v1.0.174`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.174) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.173...v1.0.174) - Documentation improvements ### [`v1.0.173`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.173) [Compare Source](https://togithub.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 ([#​2516](https://togithub.com/serde-rs/serde/issues/2516)) ### [`v1.0.172`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.172) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.171...v1.0.172) - Experiment with precompiling the serde_derive macros to reduce build time ([#​2514](https://togithub.com/serde-rs/serde/issues/2514)) ### [`v1.0.171`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.171) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.170...v1.0.171) - Support `derive(Deserialize)` on unit structs that have const generics ([#​2500](https://togithub.com/serde-rs/serde/issues/2500), thanks [@​Baptistemontan](https://togithub.com/Baptistemontan)) ### [`v1.0.170`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.170) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.169...v1.0.170) - Produce error message on suffixed string literals inside serde attributes ([#​2242](https://togithub.com/serde-rs/serde/issues/2242)) - Support single identifier as unbraced default value for const generic parameter ([#​2449](https://togithub.com/serde-rs/serde/issues/2449)) ### [`v1.0.169`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.169) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.168...v1.0.169) - Add Deserializer::deserialize_identifier support for adjacently tagged enums ([#​2475](https://togithub.com/serde-rs/serde/issues/2475), thanks [@​Baptistemontan](https://togithub.com/Baptistemontan)) - Fix unused_braces lint in generated Deserialize impl that uses braced const generic expressions ([#​2414](https://togithub.com/serde-rs/serde/issues/2414)) ### [`v1.0.168`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.168) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.167...v1.0.168) - Allow `serde::de::IgnoredAny` to be the type for a `serde(flatten)` field ([#​2436](https://togithub.com/serde-rs/serde/issues/2436), thanks [@​Mingun](https://togithub.com/Mingun)) - Allow larger preallocated capacity for smaller elements ([#​2494](https://togithub.com/serde-rs/serde/issues/2494)) ### [`v1.0.167`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.167) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.166...v1.0.167) - Add serialize and deserialize impls for `RangeFrom` and `RangeTo` ([#​2471](https://togithub.com/serde-rs/serde/issues/2471), thanks [@​tbu-](https://togithub.com/tbu-)) ### [`v1.0.166`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.166) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.165...v1.0.166) - Add `no-alloc` category to crates.io metadata ### [`v1.0.165`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.165) [Compare Source](https://togithub.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 ([#​2466](https://togithub.com/serde-rs/serde/issues/2466), thanks [@​Mingun](https://togithub.com/Mingun)) - Fix `-Zminimal-versions` build ### [`v1.0.164`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.164) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.163...v1.0.164) - Allowed enum variants to be individually marked as untagged ([#​2403](https://togithub.com/serde-rs/serde/issues/2403), thanks [@​dewert99](https://togithub.com/dewert99)) ### [`v1.0.163`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.163) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.162...v1.0.163) - Eliminate build script from serde_derive crate to slightly reduce build time ([#​2442](https://togithub.com/serde-rs/serde/issues/2442), thanks [@​taiki-e](https://togithub.com/taiki-e)) ### [`v1.0.162`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.162) [Compare Source](https://togithub.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 ([#​2377](https://togithub.com/serde-rs/serde/issues/2377), thanks [@​mfro](https://togithub.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://togithub.com/serde-rs/serde/releases/tag/v1.0.161) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.160...v1.0.161) - Improve error messages produced by serde_test on test failure ([#​2435](https://togithub.com/serde-rs/serde/issues/2435), thanks [@​Mingun](https://togithub.com/Mingun)) ### [`v1.0.160`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.160) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.159...v1.0.160) - Make derived serializer/deserializer internals `doc(hidden)` ([#​2426](https://togithub.com/serde-rs/serde/issues/2426), thanks [@​compiler-errors](https://togithub.com/compiler-errors)) ### [`v1.0.159`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.159) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.158...v1.0.159) - Accept empty #\[serde()] attribute ([#​2422](https://togithub.com/serde-rs/serde/issues/2422)) ### [`v1.0.158`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.158) [Compare Source](https://togithub.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)]` ([#​2409](https://togithub.com/serde-rs/serde/issues/2409)) ### [`v1.0.157`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.157) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.156...v1.0.157) - Update syn dependency to 2.x ### [`v1.0.156`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.156) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.155...v1.0.156) - Documentation improvements ### [`v1.0.155`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.155) [Compare Source](https://togithub.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 ([#​2374](https://togithub.com/serde-rs/serde/issues/2374), thanks [@​safarir](https://togithub.com/safarir)) ### [`v1.0.154`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.154) [Compare Source](https://togithub.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 ([#​2383](https://togithub.com/serde-rs/serde/issues/2383), thanks [@​Mingun](https://togithub.com/Mingun)) ### [`v1.0.153`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.153) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.152...v1.0.153) - Support `serde(alias = "…")` attribute used inside of flattened struct ([#​2387](https://togithub.com/serde-rs/serde/issues/2387), thanks [@​bebecue](https://togithub.com/bebecue)) </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 this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/sammyfilly/Nextjs).
- Loading branch information