From 22355704ea0a33300fb959669d76943762383165 Mon Sep 17 00:00:00 2001 From: Devin Bidwell Date: Fri, 21 Apr 2023 13:59:25 -0700 Subject: [PATCH] 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 --- tracing-subscriber/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-subscriber/Cargo.toml b/tracing-subscriber/Cargo.toml index 5553fd8737..fa2b083b30 100644 --- a/tracing-subscriber/Cargo.toml +++ b/tracing-subscriber/Cargo.toml @@ -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" }