From 47df409be20ae58d662c4fb2758271805c20da1b Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Wed, 2 May 2018 23:54:28 -0400 Subject: [PATCH] Replace 'macro_reexport' with 'pub use'. --- contrib/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)]