From 085800c330e7f496ecd2298de4762a7cafcbc13a Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 6 Jan 2017 15:14:32 -0800 Subject: Make plugin feature optional --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index d29204d2..04e738d8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,7 +18,7 @@ #![feature(inclusive_range)] #![feature(drop_types_in_const)] #![feature(step_trait)] -#![feature(plugin)] +#![cfg_attr(feature = "clippy", feature(plugin))] #![cfg_attr(feature = "clippy", plugin(clippy))] #![cfg_attr(feature = "clippy", deny(clippy))] #![cfg_attr(feature = "clippy", deny(enum_glob_use))] -- cgit From 800b65622cd8881f30d4d02e87c1ba4e4c9d27d2 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 6 Jan 2017 15:25:04 -0800 Subject: Remove need for step_by feature --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 04e738d8..fdfe5f59 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,6 @@ #![feature(inclusive_range_syntax)] #![feature(inclusive_range)] #![feature(drop_types_in_const)] -#![feature(step_trait)] #![cfg_attr(feature = "clippy", feature(plugin))] #![cfg_attr(feature = "clippy", plugin(clippy))] #![cfg_attr(feature = "clippy", deny(clippy))] -- cgit From ee5a9f133869809385bef96fcded4f22ddcc003f Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 6 Jan 2017 15:31:12 -0800 Subject: Replace need for drop_types_in_const with lazy_static --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index fdfe5f59..46e9dceb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,7 +16,6 @@ #![feature(range_contains)] #![feature(inclusive_range_syntax)] #![feature(inclusive_range)] -#![feature(drop_types_in_const)] #![cfg_attr(feature = "clippy", feature(plugin))] #![cfg_attr(feature = "clippy", plugin(clippy))] #![cfg_attr(feature = "clippy", deny(clippy))] @@ -36,6 +35,8 @@ extern crate copypasta; extern crate errno; extern crate font; extern crate glutin; +#[macro_use] +extern crate lazy_static; extern crate libc; extern crate mio; extern crate notify; -- cgit From c579d079939b5d4ee3127579de732f037e612c28 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 6 Jan 2017 15:48:23 -0800 Subject: Remove need for range_contains feature --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 46e9dceb..730f165a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,6 @@ // limitations under the License. // //! Alacritty - The GPU Enhanced Terminal -#![feature(range_contains)] #![feature(inclusive_range_syntax)] #![feature(inclusive_range)] #![cfg_attr(feature = "clippy", feature(plugin))] -- cgit From fbeded8ac543613b89af2ed7fd856e978493cde4 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 6 Jan 2017 16:26:31 -0800 Subject: Remove need for inclusive ranges --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 730f165a..c6215a80 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,8 +13,6 @@ // limitations under the License. // //! Alacritty - The GPU Enhanced Terminal -#![feature(inclusive_range_syntax)] -#![feature(inclusive_range)] #![cfg_attr(feature = "clippy", feature(plugin))] #![cfg_attr(feature = "clippy", plugin(clippy))] #![cfg_attr(feature = "clippy", deny(clippy))] -- cgit From 49187d53f2f8b7cfca9105c3fb00d7c29e2a457b Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 6 Jan 2017 16:32:29 -0800 Subject: Add `nightly` feature, use for `unlikely` intrinsic --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index c6215a80..295a674c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,7 +20,7 @@ #![cfg_attr(feature = "clippy", deny(if_not_else))] #![cfg_attr(feature = "clippy", deny(wrong_pub_self_convention))] #![cfg_attr(test, feature(test))] -#![feature(core_intrinsics)] +#![cfg_attr(feature = "nightly", feature(core_intrinsics))] #![feature(proc_macro)] -- cgit