-
Add
#[serde(into = "T")]
to serialize using the implementation ofInto<T>
and#[serde(from = "T")]
to deserialize using the implementation ofFrom<T>
(#817, thanks @jbaublitz)#[derive(Serialize, Deserialize)] #[serde(into = "u32", from = "u32")] struct Ipv4Addr { /* ... */ }
-
Implement Deserialize for
Box<CStr>
on nightly (#811, thanks @jonhoo) -
Implement Serialize and Deserialize for
OsString
and implement Serialize forOsStr
(#824, thanks @alexcrichton) -
Implement Serialize for
Range
(#813, thanks @rocallahan)