Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
Update Rust crate serde to 1.0.162 (#1891)
Browse files Browse the repository at this point in the history
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](serde-rs/serde@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](serde-rs/serde#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](serde-rs/serde@v1.0.160...v1.0.161)

-   Improve error messages produced by serde_test on test failure ([#&#8203;2435](serde-rs/serde#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:eyJjcmVhdGVkSW5WZXIiOiIzNS43Mi4xIiwidXBkYXRlZEluVmVyIjoiMzUuNzIuMSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AifQ==-->

Co-authored-by: cabr2-bot <[email protected]>
Co-authored-by: crapStone <[email protected]>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1891
Reviewed-by: crapStone <[email protected]>
Co-authored-by: Calciumdibromid Bot <[email protected]>
Co-committed-by: Calciumdibromid Bot <[email protected]>
  • Loading branch information
3 people authored and crapStone committed May 9, 2023
1 parent 7990bf2 commit da5ee8f
Show file tree
Hide file tree
Showing 10 changed files with 180 additions and 122 deletions.
2 changes: 1 addition & 1 deletion crates/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ base64 = "0.21.0"
directories-next = "2.0.0"
lazy_static = "1.4.0"
log = "0.4.17"
serde = { version = "1.0.160", features = ["derive"] }
serde = { version = "1.0.162", features = ["derive"] }
serde_json = "1.0.96"
thiserror = "1.0.40"
tokio = { version = "1.28.0", features = ["fs", "io-util"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/error-ser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ authors = [
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
serde = { version = "1.0.160", features = ["derive"] }
serde = { version = "1.0.162", features = ["derive"] }
2 changes: 1 addition & 1 deletion crates/load_save/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ log = "0.4.17"
lopdf = { version = "0.30.0", optional = true }
quick-xml = { version = "0.28.2", features = ["serialize"], optional = true }
regex = { version = "1.8.1", optional = true }
serde = { version = "1.0.160", features = ["derive"] }
serde = { version = "1.0.162", features = ["derive"] }
serde_json = { version = "1.0.96", optional = true }
thiserror = "1.0.40"
tokio = { version = "1.28.0", features = ["fs"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/search/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ log = "0.4.17"
quick-xml = { version = "0.28.2", optional = true, features = ["serialize"] }
regex = { version = "1.8.1", optional = true }
reqwest = { version = "0.11.17", features = ["deflate", "gzip", "json", "native-tls"], default-features = false, optional = true }
serde = { version = "1.0.160", features = ["derive"] }
serde = { version = "1.0.162", features = ["derive"] }
serde_json = "1.0.96"
structopt = { version = "0.3.26", optional = true }
thiserror = "1.0.40"
Expand Down
2 changes: 1 addition & 1 deletion crates/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2018"
cfg-if = { version = "1.0.0", optional = true }
chrono = { version = "0.4.24", features = ["serde"] }
log = "0.4.17"
serde = { version = "1.0.160", features = ["derive"] }
serde = { version = "1.0.162", features = ["derive"] }
tokio = { version = "1.28.0", features = ["sync"], default-features = false, optional = true }

[features]
Expand Down
Loading

0 comments on commit da5ee8f

Please sign in to comment.