Skip to content

Releases: serde-rs/serde

v0.8.21

24 Dec 18:15
v0.8.21
9338c4f
Compare
Choose a tag to compare
  • Implement skip_serializing for enum variants (#653, thanks @shinglyu)

    #[derive(Serialize)]
    enum E {
        A(bool),
        B(String),
        #[serde(skip_serializing)]
        C(NotSerializable),
    }

    Serialization will fail with a message if that particular variant is the one being serialized.

    "The enum variant E::C cannot be serialized"

v0.8.20

16 Dec 16:02
v0.8.20
08c59a2
Compare
Choose a tag to compare
  • Implement skip_deserializing for enum variants (#641, thanks @shinglyu)

    #[derive(Deserialize)]
    enum E {
        A(bool),
        B(String),
        #[serde(skip_deserializing)]
        C(NotDeserializable),
    }

v0.8.19

23 Nov 17:22
v0.8.19
36641e7
Compare
Choose a tag to compare

Support for rustc 1.15.0-nightly (7b3eeea22 2016-11-21)

v0.8.18

19 Nov 19:50
v0.8.18
17fb4cb
Compare
Choose a tag to compare

Support for rustc 1.15.0-nightly (ac635aa95 2016-11-18)

v0.8.17

02 Nov 16:29
v0.8.17
c91fca1
Compare
Choose a tag to compare

Support for rustc 1.14.0-nightly (7c69b0d5a 2016-11-01)

v0.8.16

22 Oct 07:13
v0.8.16
c9612a2
Compare
Choose a tag to compare
  • Fix possible warning when building with #![warn(unused_results)] (#599, thanks @TheCatPlusPlus)

v0.8.15

20 Oct 15:48
v0.8.15
9acb17a
Compare
Choose a tag to compare

v0.8.14

19 Oct 04:52
v0.8.14
1b42f3f
Compare
Choose a tag to compare
  • Fix corrupted deserialization code being generated randomly when using serde_codegen (did not affect serde_derive) #590

v0.8.13

16 Oct 17:40
v0.8.13
532b950
Compare
Choose a tag to compare
  • The empty array [T; 0] now supports deserializing from formats that handle fixed-sized arrays only (#582)
  • The empty array [T; 0] no longer requires T: Default in order to deserialize (#583)

v0.8.12

08 Oct 22:44
v0.8.12
85c9504
Compare
Choose a tag to compare
  • Update the serde_derive crate type from "rustc-macro" to "proc-macro" to match the blanket rename in Rust (rust-lang/rust#36945). Rustc 1.14.0-nightly (6e8f92f11 2016-10-07) is the first version containing the rename.