Skip to content

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