From 42b1c4813d3f8ca5ef315046afdf755bba4733fa Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Sun, 12 Feb 2023 10:14:24 +0100 Subject: [PATCH] Disable most of default regex features regex as used by Sentry doesn't need full Unicode tables, just ones used by \w, \s, \d and \b. --- sentry-backtrace/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry-backtrace/Cargo.toml b/sentry-backtrace/Cargo.toml index eae01ec2..514ab3ec 100644 --- a/sentry-backtrace/Cargo.toml +++ b/sentry-backtrace/Cargo.toml @@ -15,5 +15,5 @@ rust-version = "1.60" [dependencies] backtrace = "0.3.44" once_cell = "1" -regex = "1.5.5" +regex = { version = "1.5.5", default-features = false, features = ["std", "unicode-perl"] } sentry-core = { version = "0.29.3", path = "../sentry-core" }