Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit fd6d577158018d458a08da6d610b3e313b8ad271
parent 58519e495e64e8b7cca5374b34e01697692ebc21
Author: Sergio Benitez <sb@sergio.bz>
Date:   Sat, 18 Aug 2018 17:06:28 -0700

Remove 'use_extern_macros' feature: stabilized.

Diffstat:
Mcontrib/lib/src/databases.rs | 9++-------
Mcontrib/lib/src/lib.rs | 1-
Mcontrib/lib/tests/databases.rs | 2--
Mcore/codegen/build.rs | 2+-
Mcore/http/src/lib.rs | 2+-
Mcore/lib/build.rs | 4++--
Mcore/lib/src/lib.rs | 2+-
Mexamples/todo/src/main.rs | 2+-
8 files changed, 8 insertions(+), 16 deletions(-)

diff --git a/contrib/lib/src/databases.rs b/contrib/lib/src/databases.rs @@ -54,8 +54,6 @@ //! In your application's source code, one-time: //! //! ```rust -//! # #![feature(use_extern_macros)] -//! # //! # extern crate rocket; //! # extern crate rocket_contrib; //! # @@ -76,7 +74,7 @@ //! Whenever a connection to the database is needed: //! //! ```rust -//! # #![feature(plugin, decl_macro, use_extern_macros)] +//! # #![feature(plugin, decl_macro)] //! # #![plugin(rocket_codegen)] //! # //! # extern crate rocket; @@ -192,7 +190,6 @@ //! internal type of the structure must implement [`Poolable`]. //! //! ```rust -//! # #![feature(use_extern_macros)] //! # extern crate rocket; //! # extern crate rocket_contrib; //! use rocket_contrib::databases::{database, diesel}; @@ -228,7 +225,6 @@ //! together, a use of the `#[database]` attribute looks as follows: //! //! ```rust -//! # #![feature(use_extern_macros)] //! # extern crate rocket; //! # extern crate rocket_contrib; //! # @@ -267,7 +263,6 @@ //! connection to a given database: //! //! ```rust -//! # #![feature(use_extern_macros)] //! # #![feature(plugin, decl_macro)] //! # #![plugin(rocket_codegen)] //! # @@ -290,7 +285,7 @@ //! connection type: //! //! ```rust -//! # #![feature(plugin, decl_macro, use_extern_macros)] +//! # #![feature(plugin, decl_macro)] //! # #![plugin(rocket_codegen)] //! # //! # extern crate rocket; diff --git a/contrib/lib/src/lib.rs b/contrib/lib/src/lib.rs @@ -1,4 +1,3 @@ -#![feature(use_extern_macros)] #![feature(crate_visibility_modifier)] #![feature(never_type)] #![feature(doc_cfg)] diff --git a/contrib/lib/tests/databases.rs b/contrib/lib/tests/databases.rs @@ -1,5 +1,3 @@ -#![feature(use_extern_macros)] - extern crate rocket; extern crate rocket_contrib; diff --git a/core/codegen/build.rs b/core/codegen/build.rs @@ -8,7 +8,7 @@ use yansi::Color::{Red, Yellow, Blue, White}; use version_check::{supports_features, is_min_version, is_min_date}; // Specifies the minimum nightly version needed to compile Rocket's codegen. -const MIN_DATE: &'static str = "2018-08-14"; +const MIN_DATE: &'static str = "2018-08-17"; const MIN_VERSION: &'static str = "1.30.0-nightly"; fn main() { diff --git a/core/http/src/lib.rs b/core/http/src/lib.rs @@ -1,5 +1,5 @@ #![feature(specialization)] -#![feature(proc_macro_non_items, use_extern_macros)] +#![feature(proc_macro_non_items)] #![feature(const_fn)] #![feature(try_from)] #![feature(crate_visibility_modifier)] diff --git a/core/lib/build.rs b/core/lib/build.rs @@ -8,8 +8,8 @@ use yansi::Color::{Red, Yellow, Blue, White}; use version_check::{supports_features, is_min_version, is_min_date}; // Specifies the minimum nightly version needed to compile Rocket. -const MIN_DATE: &'static str = "2018-07-16"; -const MIN_VERSION: &'static str = "1.29.0-nightly"; +const MIN_DATE: &'static str = "2018-08-17"; +const MIN_VERSION: &'static str = "1.30.0-nightly"; fn main() { let ok_channel = supports_features(); diff --git a/core/lib/src/lib.rs b/core/lib/src/lib.rs @@ -4,7 +4,7 @@ #![feature(try_trait)] #![feature(fnbox)] #![feature(never_type)] -#![feature(proc_macro_non_items, use_extern_macros)] +#![feature(proc_macro_non_items)] #![feature(crate_visibility_modifier)] #![feature(try_from)] diff --git a/examples/todo/src/main.rs b/examples/todo/src/main.rs @@ -1,4 +1,4 @@ -#![feature(plugin, decl_macro, use_extern_macros, custom_derive, const_fn)] +#![feature(plugin, decl_macro, custom_derive, const_fn)] #![plugin(rocket_codegen)] #[macro_use] extern crate rocket;