Skip to content

Implement Deserialize on adapter types - #855

Merged
KodrAus merged 1 commit into
mainfrom
feat/serde-fmt
Jan 24, 2026
Merged

KodrAus merged 1 commit into
mainfrom
feat/serde-fmt

Conversation

@KodrAus

@KodrAus KodrAus commented Jan 24, 2026

Copy link
Copy Markdown
Member

Alternative to #832

This PR implements Deserialize for the various formatting adapter types, using the same scheme as the existing uuid::serde::{adapter} modules.

Deserialization of these adapters is stricter than on Uuid, so they can be used in larger types to force a particular UUID format, failing if any other is used.

@KodrAus
KodrAus merged commit a0281cd into main Jan 24, 2026
22 checks passed
@KodrAus
KodrAus deleted the feat/serde-fmt branch January 24, 2026 05:47
kodiakhq Bot pushed a commit to pdylanross/fatigue that referenced this pull request Jan 26, 2026
Bumps uuid from 1.19.0 to 1.20.0.

Release notes
Sourced from uuid's releases.

v1.20.0
What's Changed

Derive Ord and PartialOrd for NonNilUuid by @​mivort in uuid-rs/uuid#854
Implement Deserialize on adapter types by @​KodrAus in uuid-rs/uuid#855
Deprecate macro-diagnostics by @​KodrAus in uuid-rs/uuid#856
Prepare for 1.20.0 release by @​KodrAus in uuid-rs/uuid#857

New Contributors

@​mivort made their first contribution in uuid-rs/uuid#854

Full Changelog: uuid-rs/[email protected]



Commits

c3346dd Merge pull request #857 from uuid-rs/cargo/v1.20.0
66eebc3 prepare for 1.20.0 release
3b66758 Merge pull request #856 from uuid-rs/docs/bytes-le-ordering
e2bdd44 don't run UI tests in wasm
b6dc7ec note that ordering applies to fields in to/from_bytes_le
a0281cd Merge pull request #855 from uuid-rs/feat/serde-fmt
db27b67 Merge pull request #854 from mivort/non-nil-uuid-ord
efb06f2 implement Deserialize on adapter types
50d44ad Derive Ord and PartialOrd for NonNilUuid
See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant