Skip to content

Commit

Permalink
subscriber: add "unicode-case" and "unicode-perl" features to regex
Browse files Browse the repository at this point in the history
… 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]>
  • Loading branch information
dbidwell94 authored and hawkw committed Apr 21, 2023
1 parent b9becf9 commit 2235570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-subscriber/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tracing-core = { path = "../tracing-core", version = "0.1.30", default-features
# only required by the filter feature
tracing = { optional = true, path = "../tracing", version = "0.1.35", default-features = false }
matchers = { optional = true, version = "0.1.0" }
regex = { optional = true, version = "1", default-features = false, features = ["std"] }
regex = { optional = true, version = "1.6.0", default-features = false, features = ["std", "unicode-case", "unicode-perl"] }
smallvec = { optional = true, version = "1.9.0" }
once_cell = { optional = true, version = "1.13.0" }

Expand Down

0 comments on commit 2235570

Please sign in to comment.