From 702411aefe81fd4b7b5d205706e3b29e16129378 Mon Sep 17 00:00:00 2001 From: ijl Date: Mon, 6 Apr 2020 14:33:06 +0000 Subject: [PATCH] Reduce build dependencies from regex This avoids users compiling four crates for the "perf" and "unicode" features. regex is only used in build.rs to parse some #define lines so it doesn't need to compile support for thread-local caches etc or parsing by unicode code point. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index eaa5d30a..eb5bff4d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ assert_approx_eq = "1.1.0" trybuild = "1.0.23" [build-dependencies] -regex = "1" +regex = { version = "1", default_features = false, features = ["std"] } version_check = "0.9.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0"