- Adds a
boundattribute for specifying handwrittenwhereclause 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
renameattributes canceling one another if specified separately for ser and de (#353)