Skip to content

@dtolnay dtolnay released this May 12, 2021

  • Resolve conflict with forbid(future_incompatible) lint setting in generated code (#2026, thanks @hyd-dev)
Assets 2

@dtolnay dtolnay released this Mar 22, 2021

  • Improve performance of serializing Ipv4Addr (#2001, thanks @saethlin)
Assets 2

@dtolnay dtolnay released this Mar 6, 2021

  • Fix possible panic deserializing invalid data as SystemTime (#1997, thanks @cyang1)
Assets 2

@dtolnay dtolnay released this Jan 25, 2021

  • Support Self keywords in fields of types that derive Deserialize (#1830, thanks @taiki-e)
  • Allow floats to be deserialized from ints in tagged unions (#1842, thanks @Timmmm)
  • Support Self inside fields that use serialize_with (#1970)
Assets 2

@dtolnay dtolnay released this Jan 25, 2021

  • 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)

Assets 2

@dtolnay dtolnay released this Jan 23, 2021

  • Support borrowed data during deserialization of a field identifier (#1917, thanks @Mingun)
  • Fix panic when deserializing Duration with nanoseconds that cause the seconds counter to overflow (#1958, thanks @jonasbb)
Assets 2

@dtolnay dtolnay released this Jan 19, 2021

  • Fix deserialization of ignored fields containing 128-bit integer (#1955, thanks @TheJokr)
Assets 2
Jan 11, 2021
Release 1.0.119

@dtolnay dtolnay released this Dec 5, 2020

  • Support serialization of core::num::Wrapping in no_std mode (#1926, thanks @attente)
Assets 2

@dtolnay dtolnay released this Oct 15, 2020

  • Allow serialization of std::net::SocketAddrV6 to include a scope id if present (based on rust-lang/rust#77426)
Assets 2