Skip to content

Bump serde from 1.0.120 to 1.0.122

Sergej Kostjucenko requested to merge dependabot/cargo/serde-1.0.122 into master

Created by: dependabot[bot]

Bumps serde from 1.0.120 to 1.0.122.

Release notes

Sourced from serde's releases.

v1.0.122

  • Add IntoDeserializer impl for &[u8] (#1898, thanks @Mingun)

  • Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (#1914, thanks @Mingun)

  • Add attribute to override default deserialization failure expectation message (#1916, thanks @Mingun)

    #[derive(Deserialize)]
    #[serde(untagged, expecting = "single version or array of versions")]
    struct VersionSpec {
        One(Version),
        Many(Vec<Version>),
    }
  • Improve serde_test handling of map entries and error message construction (#1918, thanks @Mingun)

  • Produce more accurate location information on test failures from serde_test crate (#1920, thanks @Mingun)

  • Improve diagnostic on failure to parse a rename_all attribute (#1960, #1961)

  • Eliminate unnecessary trait bounds on some value Deserializer impls (#1963)

v1.0.121

  • Support borrowed data during deserialization of a field identifier (#1917, thanks @Mingun)
  • Fix panic when deserializing Duration with nanoseconds that cause the seconds counter to overflow (#1958, thanks @jonasbb)
Commits
  • ffed192 Release 1.0.122
  • bb7f94d Add serde_derive_internals to clippy CI job
  • ff0f467 Opt in to pedantic clippy lints in serde_derive_internals
  • d1975f3 Update serde_derive_internals to tool attrs
  • b91713e Suppress clippy should_implement_trait lint
  • 6ea446f Suppress clippy unused_self pedantic lint
  • 85c6904 Remove dependency on syn/visit feature
  • 2fd5212 Remove unused trait impls on private MapAsEnum
  • 7d1bc1f Merge pull request #1963 from serde-rs/valuedebug
  • cdc2fa1 Eliminate inferred bound on error type of value deserializer Debug impls
  • 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)

Merge request reports