File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ documentation = "https://docs.rs/chrono-tz-build"
14
14
[features ]
15
15
filter-by-regex = [" regex" ]
16
16
case-insensitive = [" uncased" , " phf/uncased" ]
17
- regex = [" dep:regex" ]
17
+ regex = [" dep:regex-lite " ]
18
18
19
19
[dependencies ]
20
20
parse-zoneinfo = { version = " 0.3" }
21
- regex = { default-features = false , version = " 1" , optional = true }
21
+ regex-lite = { version = " 0. 1" , optional = true }
22
22
phf = { version = " 0.11" , default-features = false }
23
23
phf_codegen = { version = " 0.11" , default-features = false }
24
24
uncased = { version = " 0.9" , optional = true , default-features = false }
Original file line number Diff line number Diff line change 1
- extern crate parse_zoneinfo;
2
- #[ cfg( feature = "filter-by-regex" ) ]
3
- extern crate regex;
4
-
5
1
use std:: collections:: BTreeSet ;
6
2
use std:: env;
7
3
use std:: fs:: File ;
@@ -382,7 +378,7 @@ mod filter {
382
378
use std:: collections:: HashSet ;
383
379
use std:: env;
384
380
385
- use regex :: Regex ;
381
+ use regex_lite :: Regex ;
386
382
387
383
use crate :: { Table , FILTER_ENV_VAR_NAME } ;
388
384
You can’t perform that action at this time.
0 commit comments