Update Rust crate serde to 1.0.162 #3

Merged
pierre merged 1 commits from renovate/serde-1.x into master 2023-05-11 11:51:48 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
serde (source) dependencies patch 1.0.160 -> 1.0.162

Release Notes

serde-rs/serde

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)

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 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.160` -> `1.0.162` | --- ### Release Notes <details> <summary>serde-rs/serde</summary> ### [`v1.0.162`](https://github.com/serde-rs/serde/releases/tag/1.0.162) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.161...1.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)) </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. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS42IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
pierre added 1 commit 2023-05-06 00:20:23 +00:00
Update Rust crate serde to 1.0.162
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
d80c8c334d
pierre merged commit 8f669b9005 into master 2023-05-11 11:51:48 +00:00
pierre deleted branch renovate/serde-1.x 2023-05-11 11:51:48 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
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: pierre/light-openid#3
No description provided.