Skip to content

Commit

Permalink
Update Rust crate serde to 1.0.188 (#41)
Browse files Browse the repository at this point in the history
[![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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;2588](https://togithub.com/serde-rs/serde/issues/2588), thanks [@&#8203;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 ([#&#8203;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` ([#&#8203;2556](https://togithub.com/serde-rs/serde/issues/2556), thanks [@&#8203;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 ([#&#8203;2458](https://togithub.com/serde-rs/serde/issues/2458), thanks [@&#8203;Mingun](https://togithub.com/Mingun))
-   Support `serde(default)` on tuple structs ([#&#8203;2553](https://togithub.com/serde-rs/serde/issues/2553), thanks [@&#8203;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 ([#&#8203;2443](https://togithub.com/serde-rs/serde/issues/2443), thanks [@&#8203;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 ([#&#8203;2505](https://togithub.com/serde-rs/serde/issues/2505), [#&#8203;2496](https://togithub.com/serde-rs/serde/issues/2496), thanks [@&#8203;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 ([#&#8203;2448](https://togithub.com/serde-rs/serde/issues/2448), thanks [@&#8203;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 ([#&#8203;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 ([#&#8203;1695](https://togithub.com/serde-rs/serde/issues/1695), thanks [@&#8203;jplatte](https://togithub.com/jplatte))
-   Improve diagnostics for attribute parse errors ([#&#8203;2536](https://togithub.com/serde-rs/serde/issues/2536), thanks [@&#8203;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 ([#&#8203;2266](https://togithub.com/serde-rs/serde/issues/2266), thanks [@&#8203;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 ([#&#8203;2527](https://togithub.com/serde-rs/serde/issues/2527), thanks [@&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;2500](https://togithub.com/serde-rs/serde/issues/2500), thanks [@&#8203;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 ([#&#8203;2242](https://togithub.com/serde-rs/serde/issues/2242))
-   Support single identifier as unbraced default value for const generic parameter ([#&#8203;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 ([#&#8203;2475](https://togithub.com/serde-rs/serde/issues/2475), thanks [@&#8203;Baptistemontan](https://togithub.com/Baptistemontan))
-   Fix unused_braces lint in generated Deserialize impl that uses braced const generic expressions ([#&#8203;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 ([#&#8203;2436](https://togithub.com/serde-rs/serde/issues/2436), thanks [@&#8203;Mingun](https://togithub.com/Mingun))
-   Allow larger preallocated capacity for smaller elements ([#&#8203;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` ([#&#8203;2471](https://togithub.com/serde-rs/serde/issues/2471), thanks [@&#8203;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 ([#&#8203;2466](https://togithub.com/serde-rs/serde/issues/2466), thanks [@&#8203;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 ([#&#8203;2403](https://togithub.com/serde-rs/serde/issues/2403), thanks [@&#8203;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 ([#&#8203;2442](https://togithub.com/serde-rs/serde/issues/2442), thanks [@&#8203;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 ([#&#8203;2377](https://togithub.com/serde-rs/serde/issues/2377), thanks [@&#8203;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 ([#&#8203;2435](https://togithub.com/serde-rs/serde/issues/2435), thanks [@&#8203;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)` ([#&#8203;2426](https://togithub.com/serde-rs/serde/issues/2426), thanks [@&#8203;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 ([#&#8203;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)]` ([#&#8203;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 ([#&#8203;2374](https://togithub.com/serde-rs/serde/issues/2374), thanks [@&#8203;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 ([#&#8203;2383](https://togithub.com/serde-rs/serde/issues/2383), thanks [@&#8203;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 ([#&#8203;2387](https://togithub.com/serde-rs/serde/issues/2387), thanks [@&#8203;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
renovate[bot] authored Sep 23, 2023
1 parent 943099a commit 7af40a3
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 38 deletions.
76 changes: 38 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,13 @@ rand = "0.8.5"
regex = "1.7.0"
rstest = "0.16.0"
rustc-hash = "1.1.0"

semver = "1.0.16"
serde = { version = "1.0.188", features = ["derive"] }

semver = "1.0.19"
serde = { version = "1.0.152", features = ["derive"] }
>>>>>> canary
serde_json = "1.0.93"
serde_qs = "0.11.0"
serde_yaml = "0.9.17"
Expand Down

0 comments on commit 7af40a3

Please sign in to comment.