Skip to content

feat: Add integration with schemars #264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

caspermeijn
Copy link

Integrate with schemars, which allows to generate a JSON schema for a serde generated JSON file.

A v1 of schemars is in the works, but that will take some months. It seems the derive API will not change.

Integrate with `schemars`, which allows to generate a JSON schema for a `serde` generated JSON file.

A v1 of `schemars` is in the works, but that will take some months. It seems the derive API will not change.
@sirhcel
Copy link
Contributor

sirhcel commented May 21, 2025

Thank you for the PR @caspermeijn! What about adding support for schemars behind a preview feature for integrating it soon while waiting for serialport-rs to get to a suitable MSRV and maybe a breaking changes from schemars when transitioning to 1.0?

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