[PR #87] [MERGED] Bump serde from 1.0.98 to 1.0.101 #601

Closed
opened 2026-02-28 14:50:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/87
Author: @dependabot-preview[bot]
Created: 10/20/2019
Status: Merged
Merged: 10/23/2019
Merged by: @Rigellute

Base: masterHead: dependabot/cargo/serde-1.0.101


📝 Commits (1)

  • b5c3fee Bump serde from 1.0.98 to 1.0.101

📊 Changes

1 file changed (+11 additions, -11 deletions)

View changed files

📝 Cargo.lock (+11 -11)

📄 Description

Bumps serde from 1.0.98 to 1.0.101.

Release notes

Sourced from serde's releases.

v1.0.101

  • Report errors on malformed serde attributes, like #[serde(rename =)] -- the compiler used to reject these itself, but when the compiler relaxed its requirements on attribute syntax these malformed attributes began silently being ignored by serde_derive

  • Eliminate unused variable warning when using skip_serializing inside a tuple variant of an adjacently tagged enum (#1617, thanks @​arilotter)

  • Support skip attribute inside of newtype variants (#1622, thanks @​Xaeroxe)

v1.0.100

  • Provide serde::ser::StdError and serde::de::StdError which are either a re-export of std::error::Error (if Serde's "std" feature is enabled) or a new identical trait (otherwise).

    #[cfg(feature = "std")]
    pub use std::error::Error as StdError;
    
    #[cfg(not(feature = "std"))]
    pub trait StdError: Debug + Display {
        fn source(&self) -> Option<&(StdError + 'static)> { None }
    }
    

    Serde's error traits serde::ser::Error and serde::de::Error require std::error::Error as a supertrait, but only when Serde is built with "std" enabled. Data formats that don't care about no_std support should generally provide their error types with a std::error::Error impl directly:

    #[derive(Debug)]
    struct MySerError {...}
    
    impl serde::ser::Error for MySerError {...}
    
    impl std::fmt::Display for MySerError {...}
    
    // We don't support no_std!
    impl std::error::Error for MySerError {}
    

    Data formats that do support no_std may either have a "std" feature of their own as has been required in the past:

    [features]
    std = ["serde/std"]
    
    #[cfg(feature = "std")]
    impl std::error::Error for MySerError {}
    

    ... or else now may provide the std Error impl unconditionally via Serde's re-export:

    impl serde::ser::StdError for MySerError {}
    
... (truncated)
Commits
  • 4aba6fa Release 1.0.101
  • fe06bc2 More concise explanation of allow(unused_variables)
  • 8dfb4cd Merge pull request #1617 from arilotter/master
  • d1ade37 Ignore new too_many_lines lint
  • 9de4924 Bug fix for #1610
  • b24d501 Remove use of ref keyword from serde_derive
  • e46463e Add tests for attribute parse errors
  • a3157c9 Produce errors on attr that fails to parse as Meta
  • 0d47226 Use flatten() to iterate serde meta items
  • 7ab1259 Un-wrap error message strings for better grepping
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @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)
  • 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)

🔄 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/Rigellute/spotify-tui/pull/87 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 10/20/2019 **Status:** ✅ Merged **Merged:** 10/23/2019 **Merged by:** [@Rigellute](https://github.com/Rigellute) **Base:** `master` ← **Head:** `dependabot/cargo/serde-1.0.101` --- ### 📝 Commits (1) - [`b5c3fee`](https://github.com/Rigellute/spotify-tui/commit/b5c3feec4d9fc92a0447ce7ad52bb4e374df8ed1) Bump serde from 1.0.98 to 1.0.101 ### 📊 Changes **1 file changed** (+11 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+11 -11) </details> ### 📄 Description Bumps [serde](https://github.com/serde-rs/serde) from 1.0.98 to 1.0.101. <details> <summary>Release notes</summary> *Sourced from [serde's releases](https://github.com/serde-rs/serde/releases).* > ## v1.0.101 > - Report errors on malformed serde attributes, like `#[serde(rename =)]` -- the compiler used to reject these itself, but when the compiler relaxed its requirements on attribute syntax these malformed attributes began silently being ignored by serde_derive > > - Eliminate unused variable warning when using skip_serializing inside a tuple variant of an adjacently tagged enum ([#1617](https://github-redirect.dependabot.com/serde-rs/serde/issues/1617), thanks [@&#8203;arilotter](https://github.com/arilotter)) > > - Support skip attribute inside of newtype variants ([#1622](https://github-redirect.dependabot.com/serde-rs/serde/issues/1622), thanks [@&#8203;Xaeroxe](https://github.com/Xaeroxe)) > > ## v1.0.100 > - Provide `serde::ser::StdError` and `serde::de::StdError` which are either a re-export of `std::error::Error` (if Serde's "std" feature is enabled) or a new identical trait (otherwise). > > ```rust > #[cfg(feature = "std")] > pub use std::error::Error as StdError; > > #[cfg(not(feature = "std"))] > pub trait StdError: Debug + Display { > fn source(&self) -> Option<&(StdError + 'static)> { None } > } > ``` > > Serde's error traits `serde::ser::Error` and `serde::de::Error` require `std::error::Error` as a supertrait, but only when Serde is built with "std" enabled. Data formats that don't care about no\_std support should generally provide their error types with a `std::error::Error` impl directly: > > ```rust > #[derive(Debug)] > struct MySerError {...} > > impl serde::ser::Error for MySerError {...} > > impl std::fmt::Display for MySerError {...} > > // We don't support no_std! > impl std::error::Error for MySerError {} > ``` > > Data formats that *do* support no\_std may either have a "std" feature of their own as has been required in the past: > > ```toml > [features] > std = ["serde/std"] > ``` > > ```rust > #[cfg(feature = "std")] > impl std::error::Error for MySerError {} > ``` > > ... or else now may provide the std Error impl unconditionally via Serde's re-export: > > ```rust > impl serde::ser::StdError for MySerError {} ></tr></table> ... (truncated) </details> <details> <summary>Commits</summary> - [`4aba6fa`](https://github.com/serde-rs/serde/commit/4aba6fae78e8be5f9c52dc125c97054e5fbe54c7) Release 1.0.101 - [`fe06bc2`](https://github.com/serde-rs/serde/commit/fe06bc2f88db19e046779a36f1353c3b2439a306) More concise explanation of allow(unused_variables) - [`8dfb4cd`](https://github.com/serde-rs/serde/commit/8dfb4cd02f6efc1632b6ce344fa19fdc3c45cbbd) Merge pull request [#1617](https://github-redirect.dependabot.com/serde-rs/serde/issues/1617) from arilotter/master - [`d1ade37`](https://github.com/serde-rs/serde/commit/d1ade378270ecf85dfab0df6fce816cab7971c14) Ignore new too_many_lines lint - [`9de4924`](https://github.com/serde-rs/serde/commit/9de49241fb703f5bb775d72adbafe53535841d45) Bug fix for [#1610](https://github-redirect.dependabot.com/serde-rs/serde/issues/1610) - [`b24d501`](https://github.com/serde-rs/serde/commit/b24d50160af8b554400a6d5128dc1a773e2994b9) Remove use of ref keyword from serde_derive - [`e46463e`](https://github.com/serde-rs/serde/commit/e46463e69f709d1bb97ba4af3b573048ec383940) Add tests for attribute parse errors - [`a3157c9`](https://github.com/serde-rs/serde/commit/a3157c957205fc400723101a1748a7f2bda8f6f6) Produce errors on attr that fails to parse as Meta - [`0d47226`](https://github.com/serde-rs/serde/commit/0d4722680a1a8d0343a6dbedae1ffadc7a570349) Use flatten() to iterate serde meta items - [`7ab1259`](https://github.com/serde-rs/serde/commit/7ab12597bb183838f8fa9a13ec8da333578e0969) Un-wrap error message strings for better grepping - Additional commits viewable in [compare view](https://github.com/serde-rs/serde/compare/v1.0.98...v1.0.101) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.98&new-version=1.0.101)](https://dependabot.com/compatibility-score.html?dependency-name=serde&package-manager=cargo&previous-version=1.0.98&new-version=1.0.101) 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) --- **Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit. You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com). <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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@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) - 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:50:10 +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/spotify-tui#601
No description provided.