[PR #827] [MERGED] Bump serde from 1.0.94 to 1.0.97 #1720

Closed
opened 2026-03-16 02:21:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/827
Author: @dependabot-preview[bot]
Created: 7/22/2019
Status: Merged
Merged: 7/26/2019
Merged by: @bluejekyll

Base: masterHead: dependabot/cargo/serde-1.0.97


📝 Commits (2)

  • a7b223e Bump serde from 1.0.94 to 1.0.97
  • 8cb35c4 Merge branch 'master' into dependabot/cargo/serde-1.0.97

📊 Changes

2 files changed (+8 additions, -8 deletions)

View changed files

📝 Cargo.lock (+7 -7)
📝 crates/server/Cargo.toml (+1 -1)

📄 Description

Bumps serde from 1.0.94 to 1.0.97.

Release notes

Sourced from serde's releases.

v1.0.97

  • Introduce serde(try_from = "...") attribute to derive Deserialize based on a given implementation of std::convert::TryFrom (#1526, thanks @​fanzeyi)

    #[derive(Deserialize)]
    #[serde(try_from = "u32")]
    enum N {
        Zero,
        One,
        Two,
    }
    
    impl TryFrom<u32> for N {
        type Error = String;
    
        fn try_from(u: u32) -> Result<Self, Self::Error> {
            match u {
                0 => Ok(Self::Zero),
                1 => Ok(Self::One),
                2 => Ok(Self::Two),
                other => Err(format!("out of range: {}", other)),
            }
        }
    }
    

v1.0.96

v1.0.95

yanked

Commits
  • 3ae2bee Release 1.0.97
  • d0fb958 Remove unneeded explicit type parameters in test_from_into_traits
  • b941c63 More typical TryFrom usage for test
  • cf70c3f Format with rustfmt 2019-06-09
  • f249e72 Provide try_from only on 1.34+
  • 92e0b62 Merge pull request 1526 from fanzeyi/try_from
  • cf32a5b Release 1.0.96
  • 7b0e06c Provide 32 bit atomic impls for emscripten
  • 3158bf9 Merge pull request #1581 from Roguelazer/issue-1579
  • 01fade7 replaced one too many _ with -
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/827 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 7/22/2019 **Status:** ✅ Merged **Merged:** 7/26/2019 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `master` ← **Head:** `dependabot/cargo/serde-1.0.97` --- ### 📝 Commits (2) - [`a7b223e`](https://github.com/hickory-dns/hickory-dns/commit/a7b223ea840a72f80f78a27a7b437188adcf0086) Bump serde from 1.0.94 to 1.0.97 - [`8cb35c4`](https://github.com/hickory-dns/hickory-dns/commit/8cb35c4cae0ef61f7241b523fcee678c953abab4) Merge branch 'master' into dependabot/cargo/serde-1.0.97 ### 📊 Changes **2 files changed** (+8 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+7 -7) 📝 `crates/server/Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [serde](https://github.com/serde-rs/serde) from 1.0.94 to 1.0.97. <details> <summary>Release notes</summary> *Sourced from [serde's releases](https://github.com/serde-rs/serde/releases).* > ## v1.0.97 > - Introduce `serde(try_from = "...")` attribute to derive Deserialize based on a given implementation of [`std::convert::TryFrom`](https://doc.rust-lang.org/std/convert/trait.TryFrom.html) ([#1526](https://github-redirect.dependabot.com/serde-rs/serde/issues/1526), thanks [@&#8203;fanzeyi](https://github.com/fanzeyi)) > > ```rust > #[derive(Deserialize)] > #[serde(try_from = "u32")] > enum N { > Zero, > One, > Two, > } > > impl TryFrom<u32> for N { > type Error = String; > > fn try_from(u: u32) -> Result<Self, Self::Error> { > match u { > 0 => Ok(Self::Zero), > 1 => Ok(Self::One), > 2 => Ok(Self::Two), > other => Err(format!("out of range: {}", other)), > } > } > } > ``` > > ## v1.0.96 > - Implement serialization and deserialization for std::sync::atomic types ([#1572](https://github-redirect.dependabot.com/serde-rs/serde/issues/1572) and [#1581](https://github-redirect.dependabot.com/serde-rs/serde/issues/1581), thanks [@&#8203;Roguelazer](https://github.com/Roguelazer)) > - Make "alloc" feature work on stable Rust 1.36+ ([#1576](https://github-redirect.dependabot.com/serde-rs/serde/issues/1576), thanks [@&#8203;c410-f3r](https://github.com/c410-f3r)) > > ## v1.0.95 > *yanked* </details> <details> <summary>Commits</summary> - [`3ae2bee`](https://github.com/serde-rs/serde/commit/3ae2bee272cd51ca65162646185043046751dc6d) Release 1.0.97 - [`d0fb958`](https://github.com/serde-rs/serde/commit/d0fb958e99c2c00f7b6d6d1cffe7fabd3d74a64c) Remove unneeded explicit type parameters in test_from_into_traits - [`b941c63`](https://github.com/serde-rs/serde/commit/b941c63a534b3360ce849010a6f2eef06d3299d9) More typical TryFrom usage for test - [`cf70c3f`](https://github.com/serde-rs/serde/commit/cf70c3fb05d7ad7c3d7531c6150ac8c70bab8485) Format with rustfmt 2019-06-09 - [`f249e72`](https://github.com/serde-rs/serde/commit/f249e72162fe59335f53f5e230bc511f4bbeb9a3) Provide try_from only on 1.34+ - [`92e0b62`](https://github.com/serde-rs/serde/commit/92e0b62c6b39b34b7ef569666be8f6653b46e4e0) Merge pull request 1526 from fanzeyi/try_from - [`cf32a5b`](https://github.com/serde-rs/serde/commit/cf32a5b20494eb40cd0efd15b1ea5ac412921321) Release 1.0.96 - [`7b0e06c`](https://github.com/serde-rs/serde/commit/7b0e06c82569bdb72554e8ee61f1afab23a5a3e9) Provide 32 bit atomic impls for emscripten - [`3158bf9`](https://github.com/serde-rs/serde/commit/3158bf9093fd8aff6bfbbd40e32ac7438bcf4e1d) Merge pull request [#1581](https://github-redirect.dependabot.com/serde-rs/serde/issues/1581) from Roguelazer/issue-1579 - [`01fade7`](https://github.com/serde-rs/serde/commit/01fade764cdb902866fff666ed27f9869304453b) replaced one too many _ with - - Additional commits viewable in [compare view](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.97) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.94&new-version=1.0.97)](https://dependabot.com/compatibility-score.html?dependency-name=serde&package-manager=cargo&previous-version=1.0.94&new-version=1.0.97) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 02:21:40 +03:00
Sign in to join this conversation.
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
starred/hickory-dns#1720
No description provided.