All Versions
22
Latest Version
Avg Release Cycle
21 days
Latest Release
19 days ago

Changelog History
Page 1

  • v1.0.110

    May 10, 2020
    • 👌 Support deriving Serialize impl for a repr(packed) struct (#1791, thanks @alvardes)
  • v1.0.109

    May 10, 2020
    • 👍 Allow adjacently tagged newtype variants containing Option to omit the content field when deserializing (#1553, #1706, thanks @zth0)
    • Avoid panicking when a SystemTime older than UNIX_EPOCH is serialized (#1702, thanks @hjiayz)
  • v1.0.108

    May 10, 2020

    Provide a Serializer impl that can write primitives and unit variants to a &mut fmt::Formatter (#1705, thanks @jethrogb)

    use serde::Serialize;use std::fmt::{self, Display}; #[derive(Serialize)] #[serde(rename\_all = "kebab-case")]pub enum MessageType { StartRequest, EndRequest, }impl Display for MessageType { fn fmt(&self, f: &mut fmt::Formatter) -\> fmt::Result { self.serialize(f) } }
    
  • v1.0.107

    May 08, 2020
    • 🛠 Fix panic during macro expansion when using serde(skip) and serde(other) in the same enum (#1804)
  • v1.0.106

    April 03, 2020
    • Hide dummy const implementation detail from rustdoc when documenting a binary crate (#1768, thanks @robo9k)
  • v1.0.105

    March 18, 2020
    • 👍 Allow #[serde(borrow)] to work on non-standard Cow types (#1754, thanks @maciejhirsz)
  • v1.0.104

    December 16, 2019
  • v1.0.103

    November 25, 2019
    • 👌 Support deserializing untagged unit variants from formats that treat unit as None (#1668)
  • v1.0.102

    October 27, 2019
    • 👌 Support deserializing PathBuf from bytes like &Path already did, and support deserializing Box<Path> (#1656, thanks @heftig)
  • v1.0.101

    September 16, 2019

    Report errors on malformed serde attributes, like #[serde(rename =)] -- the compiler used to reject these itself, but when the compiler relaxed its requirements on attribute syntax these malformed attributes began silently being ignored by serde_derive

    ⚠ Eliminate unused variable warning when using skip_serializing inside a tuple variant of an adjacently tagged enum (#1617, thanks @arilotter)

    👌 Support skip attribute inside of newtype variants (#1622, thanks @Xaeroxe)