Add optional support for indexmap v2 (#621)
Support for v1 is already available using the indexmap_1 feature.
This adds identical support for v2 of indexmap using the indexmap_2 feature.
Changed
Bump MSRV to 1.64, since that is required for the indexmap v2 dependency.
Fixed
Prevent panics when deserializing i64::MIN using TimestampSeconds<i64> (#632, #633)
Thanks to @hollmmax for reporting and fixing the issue.
serde_with v3.1.0
Added
Add FromIntoRef and TryFromIntoRef (#618)
Thanks to @oblique for submitting the PR.
The new types are similar to the existing FromInto and TryFromInto types.
They behave different during serialization, allowing the removal of the Clone bound on their SerializeAs trait implementation
Changed
Improve documentation about cfg-gating serde_as (#607)
Bump MSRV to 1.61 because that is required by the crate cfg_eval.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore dependency` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore dependency` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps serde_with from 3.0.0 to 3.2.0.
Release notes
Sourced from serde_with's releases.
Commits
fc30b63
Merge #6348b2a74a
Bump version to v3.2.0831fdbc
Tweak cargo release configfebdcc5
Fix some issues in CONTRIBUTING.md032b442
Update changelog16762a7
Merge #6337503651
Properly handle i64::MIN when converting to Duration1f465b9
Merge #629925fa81
Sync the size_hint changes from serdef5137b6
Merge #627Dependabot 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 show