Bump serde_with from 2.1.0 to 3.0.0
Bumps serde_with from 2.1.0 to 3.0.0.
Release notes
Sourced from serde_with's releases.
serde_with v3.0.0
This breaking release should not impact most users. It only affects custom character sets used for base64 of which there are no instances of on GitHub.
Changed
Upgrade base64 to v0.21 (#543) Thanks to
@jeff-hiner
for submitting the PR.Remove support for custom character sets. This is technically a breaking change. A code search on GitHub revealed no instances of anyone using that, and
serde_with
ships with many predefined character sets. The removal means that future base64 upgrade will no longer be breaking changes.serde_with v2.3.3
Changed
- Update
syn
to v2 anddarling
to v0.20 (#578) Update proc-macro dependencies. This change should have no impact on users, but now uses the same dependency asserde_derive
.serde_with v2.3.2
Changed
Improve the error message when deserializing
OneOrMany
orPickFirst
fails. It now includes the original error message for each of the individual variants. This is possible by dropping untagged enums as the internal implementations, since they will likely never support this, as these old PRs show serde#2376 and serde#1544.The new errors look like:
OneOrMany could not deserialize any variant: One: invalid type: map, expected u32 Many: invalid type: map, expected a sequence
PickFirst could not deserialize any variant: First: invalid type: string "Abc", expected u32 Second: invalid digit found in string
Fixed
- Specify the correct minimum serde version as dependency. (#588) Thanks to
@nox
for submitting a PR.serde_with v2.3.1
Fixed
... (truncated)
Commits
-
0c080c6
Merge #593 -
7b09c87
Bump version to v3.0.0 -
f12e611
Merge #543 -
d82cc16
Add changelog entry -
8121122
Seal the base64::Alphabet trait such that future base64 updates are no longer... -
877b48c
Update base64 dependency to 0.21 -
a119325
Merge #592 -
5a71920
Bump version to v2.3.3 -
f95573c
Merge #578 -
008a62f
Update CHANGELOG - Additional commits viewable in compare view
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)