1 unstable release
0.1.0 | Jun 11, 2019 |
---|
#20 in #juniper
Used in automaat-server
7KB
Serde support for juniper::ID
This crate allows you to derive Serialize
and Deserialize
the juniper::ID
type.
Obsolete
This crate will become obsolete once a new version of Juniper is released, containing commit
3456786.
As of version 0.12.0
, this supporting crate is still required.
Example
use juniper::ID;
use serde::{Serialize, Deserialize};
#[Serialize, Deserialize]
struct Car {
#[serde(with = "juniper_serde")]
id: ID,
model: String
}
Dependencies
~11MB
~226K SLoC