-
Notifications
You must be signed in to change notification settings - Fork 21
Reduce usage of #[serde_as(as = "Hex")] introduced in PR #1843. #1860
Copy link
Copy link
Labels
refactorImprovements to code structure, readability, or performance that don't add new features or fix bugs.Improvements to code structure, readability, or performance that don't add new features or fix bugs.tech-debt
Description
Background
This is a follow-up to #1843 — specifically, my comment #1843 (comment) about using:
#[serde_as]
pub struct Sha256Digest(#[serde_as(as = "Hex")] pub [u8; 32]);instead of copy-pasting #[serde_as(as = "Hex")] everywhere.
It turns out this introduces a cascade of required changes, so I split it out into a separate issue (this one).
User Story
No response
Acceptance Criteria
Reduce usage of #[serde_as(as = "Hex")] introduced in #1843.
Resources & Additional Notes
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
refactorImprovements to code structure, readability, or performance that don't add new features or fix bugs.Improvements to code structure, readability, or performance that don't add new features or fix bugs.tech-debt