Skip to content

Add ordered-float support - #484

Open
saulshanabrook wants to merge 1 commit into
GREsau:masterfrom
saulshanabrook:ordered-float
Open

saulshanabrook wants to merge 1 commit into
GREsau:masterfrom
saulshanabrook:ordered-float

Conversation

@saulshanabrook

Copy link
Copy Markdown

This PR adds support for the ordered-float library. It treats them like the underlying float value they wrap. It doesn't support NaN's since these are not supported elsewhere in this library.

This PR adds support for the ordered-float library. It treats them
like the underlying float value they wrap. It doesn't support NaN's
since these are not supported elsewhere in this library.
hombit pushed a commit to light-curve/light-curve-feature that referenced this pull request Apr 10, 2026
Replace manual JsonSchema implementations with #[schemars(with = "...")]
derive attribute, removing ~80 lines of boilerplate. The json_schema!
macro is fully removed.

ordered-float uses a git fork until upstream schemars 1.x support lands:
- reem/rust-ordered-float#174
- GREsau/schemars#484

Types still using manual impls: SortedArray (ndarray Array1<T> lacks
JsonSchema) and Transformed (complex trait bounds).

This branch has not been deployed

No deployments
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