cargo serde 0.7.0

latest releases: 1.0.215, 1.0.214, 1.0.213...
8 years ago

This release contains significant breaking changes compared to v0.6.x.

Deserializer trait

  • Renames Deserializer::visit_* to Deserializer::deserialize_* (#151)
  • Adds deserialize_ignored_any method to Deserializer trait (#225)
  • Overhauls the de::Error trait (#160, #166, #169, #249, #254)
  • Adds hooks for fixed-sized arrays (#244)

Attributes

  • Adds deny_unknown_fields attribute (#44 and #60)
  • Adds default="..." attribute (#90, #216)
  • Removes support for format-specific renames added in v0.4.0 (#211)
  • Supports serialize- and deserialize-specific renames (#233)

Impls

  • Adds impls for PhantomData (#248)
  • Adds impls for std::net::Ip{,v4,v6}Addr (#181)
  • Removes dependency on num crate added in v0.6.6 (#243)
  • Fixes panic during serialization of Path (#57)

Don't miss a new serde release

NewReleases is sending notifications on new releases.