Skip to content

v1.0.122

Compare
Choose a tag to compare
@dtolnay dtolnay released this 25 Jan 00:32
· 798 commits to master since this release
v1.0.122
ffed192
  • Add IntoDeserializer impl for &[u8] (#1898, thanks @Mingun)

  • Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (#1914, thanks @Mingun)

  • Add attribute to override default deserialization failure expectation message (#1916, thanks @Mingun)

    #[derive(Deserialize)]
    #[serde(untagged, expecting = "single version or array of versions")]
    struct VersionSpec {
        One(Version),
        Many(Vec<Version>),
    }
  • Improve serde_test handling of map entries and error message construction (#1918, thanks @Mingun)

  • Produce more accurate location information on test failures from serde_test crate (#1920, thanks @Mingun)

  • Improve diagnostic on failure to parse a rename_all attribute (#1960, #1961)

  • Eliminate unnecessary trait bounds on some value Deserializer impls (#1963)