Skip to content

schemars feature addition - #10

Open
syncbtx wants to merge 3 commits into
seancroach:mainfrom
syncbtx:main
Open

syncbtx wants to merge 3 commits into
seancroach:mainfrom
syncbtx:main

Conversation

@syncbtx

@syncbtx syncbtx commented Oct 20, 2026 •

Copy link
Copy Markdown

…hemars

Q A
Fixed Issues?
Patch: Bug fix?
Minor: New feature? 👍
Major: Breaking change?
Any dependency changes?

This PR added a schemars feature to allow HexColor to be used in JSON schemars

Usage

#[derive(Debug, schemars::JsonSchema)
pub struct Border{
    width: u32,
    color: HexColor
}

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