Skip to content
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

Add Serde support #4

Closed
Kromey opened this issue May 5, 2021 · 1 comment
Closed

Add Serde support #4

Kromey opened this issue May 5, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Kromey
Copy link
Owner

Kromey commented May 5, 2021

Should be able to de/serialize Poisson objects via Serde, however it's not as simple as optionally deriving the relevant traits: Serde currently does not support deriving Serialize/Deserialize on const generic arrays (ref serde-rs/serde#1272 serde-rs/serde#1937).

May be able to do this via an intermediate struct and the try_from/into attributes, though this will take some experimentation first.

@Kromey Kromey added the enhancement New feature or request label May 5, 2021
@Kromey Kromey self-assigned this May 5, 2021
@Kromey Kromey changed the title Support for Serde Add Serde support May 5, 2021
@Kromey
Copy link
Owner Author

Kromey commented May 7, 2021

Added optional derive_serde feature in d924d47

@Kromey Kromey closed this as completed May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant