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

Bump serde_derive from 1.0.79 to 1.0.105 #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps serde_derive from 1.0.79 to 1.0.105.

Release notes

Sourced from serde_derive's releases.

v1.0.105

  • Allow #[serde(borrow)] to work on non-standard Cow types (#1754, thanks @maciejhirsz)

v1.0.104

v1.0.103

  • Support deserializing untagged unit variants from formats that treat unit as None (#1668)

v1.0.102

  • Support deserializing PathBuf from bytes like &Path already did, and support deserializing Box<Path> (#1656, thanks @heftig)

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]
... (truncated)
Commits
  • 69653a7 Release 1.0.105
  • c33fb95 Merge pull request #1754 from maciejhirsz/non-std-cow-borrow
  • ec6ca6b Allow non-std Cow borrows
  • 078e88b Select a single docs.rs build target
  • 1894cb7 Resolve clippy question_mark lint
  • 27c283a Suppress wildcard import pedantic lints
  • 142955b Ignore struct_excessive_bools pedantic lint
  • a61cd0f Update ui tests to nightly-2020-02-08
  • cb1632e Fix unused_parens lint
  • dbf1f9a Remove unneeded type ascription
  • 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 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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants