Skip to content

Conversation

@kylecarow
Copy link
Collaborator

@kylecarow kylecarow commented May 7, 2025

Provides an alternate, simplified serde format to be the default serialization format, while also accepting the standard ndarray formats (backwards compatible).

This is basically finished, it just requires RReverser/serde-ndim#2 to be merged (and Cargo.toml changed accordingly) before merging.

cc @calbaker

@kylecarow kylecarow force-pushed the simple-serde-arrays branch from 5aae0fe to 328d21f Compare May 7, 2025 18:45
@kylecarow kylecarow force-pushed the simple-serde-arrays branch from 2749c12 to 283c9fe Compare May 8, 2025 21:18
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@calbaker check it out!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See https://github.com/NREL/ninterp/blob/simple-serde-arrays/src/serde.rs for how i did it (spoiler: serde(untagged) enums)

@kylecarow kylecarow force-pushed the simple-serde-arrays branch 3 times, most recently from 602b3ee to 82242a7 Compare May 9, 2025 04:48
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