mirror of https://github.com/rwf2/Rocket.git
Replace 'macro_reexport' with 'pub use'.
This commit is contained in:
parent
bd4e54609e
commit
b876f233a8
|
@ -1,4 +1,4 @@
|
||||||
#![feature(macro_reexport)]
|
#![feature(use_extern_macros)]
|
||||||
|
|
||||||
// TODO: Version URLs.
|
// TODO: Version URLs.
|
||||||
#![doc(html_root_url = "https://api.rocket.rs")]
|
#![doc(html_root_url = "https://api.rocket.rs")]
|
||||||
|
@ -44,9 +44,11 @@
|
||||||
extern crate serde;
|
extern crate serde;
|
||||||
|
|
||||||
#[cfg(feature = "json")]
|
#[cfg(feature = "json")]
|
||||||
#[cfg_attr(feature = "json", macro_reexport(json_internal))]
|
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
|
|
||||||
|
#[cfg(feature = "json")]
|
||||||
|
pub use serde_json::json_internal;
|
||||||
|
|
||||||
#[cfg(feature = "handlebars_templates")]
|
#[cfg(feature = "handlebars_templates")]
|
||||||
pub extern crate handlebars;
|
pub extern crate handlebars;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue