cargo serde 0.9.12

latest releases: 1.0.215, 1.0.214, 1.0.213...
7 years ago
  • Add #[serde(into = "T")] to serialize using the implementation of Into<T> and #[serde(from = "T")] to deserialize using the implementation of From<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 for OsStr (#824, thanks @alexcrichton)

  • Implement Serialize for Range (#813, thanks @rocallahan)

Don't miss a new serde release

NewReleases is sending notifications on new releases.