Skip to content

Commit 998774e

Browse files
authored
subscriber: add "unicode-case" and "unicode-perl" features to regex dependency (tokio-rs#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 tokio-rs#2565 Authored-by: Devin Bidwell <[email protected]>
1 parent c59a7fb commit 998774e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracing-subscriber/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ tracing-core = { path = "../tracing-core", version = "0.2", default-features = f
4242
# only required by the `env-filter` feature
4343
tracing = { optional = true, path = "../tracing", version = "0.2", default-features = false }
4444
matchers = { optional = true, version = "0.1.0" }
45-
regex = { optional = true, version = "1.6.0", default-features = false, features = ["std"] }
45+
regex = { optional = true, version = "1.6.0", default-features = false, features = ["std", "unicode-case", "unicode-perl"] }
4646
smallvec = { optional = true, version = "1.9.0" }
4747
once_cell = { optional = true, version = "1.13.0" }
4848

0 commit comments

Comments
 (0)