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 with-serde feature for (De)Serialize #286

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Conversation

Dhghomon
Copy link
Contributor

@Dhghomon Dhghomon commented Nov 3, 2023

Right now no user can create a struct or enum that implements Deserialize and/or Serialize and also holds one of the types inside edgedb_protocol::model. This crate seems meant to be as lean as possible with any extra interop with major Rust crates (chrono, bigint, etc.) gated behind feature flags so feels like a serde feature makes sense too.

@Dhghomon Dhghomon marked this pull request as ready for review November 3, 2023 00:25
@Dhghomon Dhghomon requested review from elprans and fantix November 3, 2023 00:25
Copy link
Member

@fantix fantix left a comment

Choose a reason for hiding this comment

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

I think this makes sense, too.

@Dhghomon Dhghomon merged commit 3c3e8d3 into master Nov 3, 2023
3 checks passed
@Dhghomon Dhghomon deleted the add-serde-feature branch November 3, 2023 02:13
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