Open cbbowen opened 6 days ago
Compilation currently fails without the "serde" feature enabled because the use of #[serde(...)] isn't conditioned on the feature being enabled. This PR uses cfg_attr to do so similar to the Serialize and Deserialize derives.
#[serde(...)]
cfg_attr
Serialize
Deserialize
All committers have signed the CLA.
Compilation currently fails without the "serde" feature enabled because the use of
#[serde(...)]
isn't conditioned on the feature being enabled. This PR usescfg_attr
to do so similar to theSerialize
andDeserialize
derives.