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

feat: Add optional serialization and deserialization with serde #17

Merged
merged 2 commits into from
Jan 22, 2023

Conversation

ev3nvy
Copy link
Owner

@ev3nvy ev3nvy commented Jan 22, 2023

This adds serde as an optional dependency for serializing and de-serializing various structs.

Because this is a non-essential feature, it has to be explicitly enabled with the new serde feature (disabled by default).

Currently, some structs do not derive Deserialize and Serialize, because I don't deem it necessary. If it comes up in a future discussion with a valid use case, we will add them then.

Serde `Serialize` and `Deserialize` derives will be locked behind a
serde feature, because this might be functionality that not everyone
needs and will not be enabled by default.
@ev3nvy ev3nvy added type: feature New feature or request status: completed Issue was resolved, or pull request was merged labels Jan 22, 2023
@ev3nvy ev3nvy added this to the v0.1.0 milestone Jan 22, 2023
@ev3nvy ev3nvy merged commit 3730acf into develop Jan 22, 2023
@ev3nvy ev3nvy deleted the add-dependency-serde branch January 22, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: completed Issue was resolved, or pull request was merged type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant