Skip to content

Commit 05aae84

Browse files
dbidwell94hawkw
authored andcommitted
subscriber: add "unicode-case" and "unicode-perl" features to regex dependency (#2566)
## Motivation Missing features for the `regex` crate were causing build time errors due to the the use of unicode characters in the regex without using the proper features within the regex crate ## Solution Add the missing feature flags. Fixes #2565 Authored-by: Devin Bidwell <[email protected]>
1 parent a00a4e9 commit 05aae84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracing-subscriber/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tracing-core = { path = "../tracing-core", version = "0.1.30", default-features
4343
# only required by the filter feature
4444
tracing = { optional = true, path = "../tracing", version = "0.1.35", default-features = false }
4545
matchers = { optional = true, version = "0.1.0" }
46-
regex = { optional = true, version = "1", default-features = false, features = ["std"] }
46+
regex = { optional = true, version = "1.6.0", default-features = false, features = ["std", "unicode-case", "unicode-perl"] }
4747
smallvec = { optional = true, version = "1.9.0" }
4848
once_cell = { optional = true, version = "1.13.0" }
4949

0 commit comments

Comments
 (0)