- Adds a
bound
attribute for specifying handwrittenwhere
clause for Serialize and Deserialize impls in tricky situations (#352)#[serde(bound="D: Serialize + Deserialize")]
#[serde(bound(serialize="D: Serialize", deserialize="D: Deserialize"))]
- No longer generates bounds based on fields that contain direct recursion as this typically leads to infinite recursion in rustc (#336)
- Fixes
rename
attributes canceling one another if specified separately for ser and de (#353)