edgedb / edgedb-rust

The official Rust binding for EdgeDB
https://edgedb.com
Apache License 2.0
209 stars 26 forks source link

Add with-serde feature for (De)Serialize #286

Closed Dhghomon closed 8 months ago

Dhghomon commented 8 months ago

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.