Releases: serde-rs/serde
Releases · serde-rs/serde
v0.8.21
-
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
v0.8.19
v0.8.18
v0.8.17
v0.8.16
v0.8.15
- Use post-expansion tricks to make serde attributes available to other custom derives like elastic_types_derive (#592)
v0.8.14
v0.8.13
v0.8.12
- 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.