Skip to content

serde + Ord impls on ArrayStr#77

Merged
gd-0 merged 2 commits into
mainfrom
gd/tile-metric-bn
May 5, 2026
Merged

serde + Ord impls on ArrayStr#77
gd-0 merged 2 commits into
mainfrom
gd/tile-metric-bn

Conversation

@gd-0
Copy link
Copy Markdown
Contributor

@gd-0 gd-0 commented May 5, 2026

gd-0 added 2 commits May 5, 2026 11:17
Lets ArrayStr<N> participate in serde-driven payloads (versioned
telemetry) and be used as a BTreeMap key (lex-ordered on UTF-8 content).
Adds Ord/PartialOrd to ArrayVec (lex-cmp on as_slice) so ArrayStr can
delegate. Adds TryFrom<ArrayVec<u8, N>> for ArrayStr<N> (validates
UTF-8) so deserialize is just deser-into-ArrayVec then try_from.
@gd-0 gd-0 requested a review from a team May 5, 2026 10:30
@gd-0 gd-0 merged commit 46200c1 into main May 5, 2026
0 of 2 checks passed
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

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.

2 participants