We do not intend to release any further version of
serde_macros, not even to fix breakage in future nightly versions. The design of Macros 1.1 is such that we do not expect to see the regular breakage with
serde_derive that we used to see with
serde_macros, as it depends on a far more limited set of unstable compiler internals.
See https://serde.rs/codegen-nightly.html for steps to set up
serde_derive, or https://serde.rs/codegen-hybrid.html for steps to set up a hybrid
serde_derive approach that works on stable.
[dependencies] serde_macros = "0.8"
#![feature(plugin, custom_derive)] #![plugin(serde_macros)]
[dependencies] serde_derive = "0.8"
#![feature(rustc_macro)] #[macro_use] extern crate serde_derive; // everything else is the same