diff --git a/Cargo.toml b/Cargo.toml index 7dcd6ff..8653d34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,17 +14,9 @@ regex = "0.1.41" toml = "0.1.23" time = "0.1.33" -[dependencies.regex_macros] -version = "*" -optional = true - [features] default = [] # For debugging output debug = [] - -# for building with nightly and unstable features -# until regex_macros compiles with nightly again, this should be commented out -# unstable = ["regex_macros"] unstable = [] diff --git a/src/lib.rs b/src/lib.rs index 178bfa2..e9d090b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,8 +1,3 @@ -// Until regex_macros compiles on nightly, we comment this out -// -// #![cfg_attr(feature = "unstable", feature(plugin))] -// #![cfg_attr(feature = "unstable", plugin(regex_macros))] - // DOCS extern crate regex; diff --git a/src/macros.rs b/src/macros.rs index f6a907c..c753442 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -13,9 +13,6 @@ macro_rules! werr( }) ); -// regex cheat thanks to https://github.com/BurntSushi -// Until regex_macros compiles with nightly again, this directive should be commented out -// #[cfg(not(unstable))] macro_rules! regex( ($s:expr) => (::regex::Regex::new($s).unwrap()); );