Skip to content

Commit 76a99cf

Browse files
committed
Merge pull request #13 from semantic-rs/no-regex-macro
refactor: Remove dependency on regex_macro
2 parents 34319d8 + 88788ea commit 76a99cf

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

Cargo.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,9 @@ regex = "0.1.41"
1414
toml = "0.1.23"
1515
time = "0.1.33"
1616

17-
[dependencies.regex_macros]
18-
version = "*"
19-
optional = true
20-
2117
[features]
2218
default = []
2319

2420
# For debugging output
2521
debug = []
26-
27-
# for building with nightly and unstable features
28-
# until regex_macros compiles with nightly again, this should be commented out
29-
# unstable = ["regex_macros"]
3022
unstable = []

src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// Until regex_macros compiles on nightly, we comment this out
2-
//
3-
// #![cfg_attr(feature = "unstable", feature(plugin))]
4-
// #![cfg_attr(feature = "unstable", plugin(regex_macros))]
5-
61
// DOCS
72

83
extern crate regex;

src/macros.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ macro_rules! werr(
1313
})
1414
);
1515

16-
// regex cheat thanks to https://github.com/BurntSushi
17-
// Until regex_macros compiles with nightly again, this directive should be commented out
18-
// #[cfg(not(unstable))]
1916
macro_rules! regex(
2017
($s:expr) => (::regex::Regex::new($s).unwrap());
2118
);

0 commit comments

Comments
 (0)