diff --git a/contrib/src/lib.rs b/contrib/src/lib.rs index aa3bbb58..d2c586d3 100644 --- a/contrib/src/lib.rs +++ b/contrib/src/lib.rs @@ -1,4 +1,4 @@ -#![feature(macro_reexport)] +#![feature(use_extern_macros)] // TODO: Version URLs. #![doc(html_root_url = "https://api.rocket.rs")] @@ -44,9 +44,11 @@ extern crate serde; #[cfg(feature = "json")] -#[cfg_attr(feature = "json", macro_reexport(json_internal))] extern crate serde_json; +#[cfg(feature = "json")] +pub use serde_json::json_internal; + #[cfg(feature = "json")] #[cfg_attr(feature = "json", macro_use)] #[doc(hidden)]