From a79f67ee751998f65998ef99cfc918435fadef80 Mon Sep 17 00:00:00 2001 From: Francois Garillot Date: Fri, 6 Sep 2019 11:00:13 -0700 Subject: [PATCH] [easy] Trim the regex dependency See https://github.com/rust-lang/regex/pull/613 as it turns out we never use regex in a Unicode context, trim its transitive dependencies --- benchmark/Cargo.toml | 2 +- common/grpcio-client/Cargo.toml | 4 ++-- common/logger/Cargo.toml | 2 +- language/compiler/ir_to_bytecode/syntax/Cargo.toml | 2 +- language/functional_tests/Cargo.toml | 2 +- testsuite/cluster_test/Cargo.toml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/benchmark/Cargo.toml b/benchmark/Cargo.toml index a7b794f42b58..6a01c9d5d95b 100644 --- a/benchmark/Cargo.toml +++ b/benchmark/Cargo.toml @@ -12,7 +12,7 @@ grpcio = "0.4" lazy_static = "1.2.0" protobuf = "~2.7" rand = "0.7.0" -regex = "1.2.1" +regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] } structopt = "0.2.15" num_cpus = "1.10.1" diff --git a/common/grpcio-client/Cargo.toml b/common/grpcio-client/Cargo.toml index 6a5fac87e195..e2e788932519 100644 --- a/common/grpcio-client/Cargo.toml +++ b/common/grpcio-client/Cargo.toml @@ -11,6 +11,6 @@ protobuf = "~2.7" protobuf-codegen = "2.*" protoc = "2.*" protoc-grpcio = "1.0.1" -regex = "1.2.1" +regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] } -tools = { path = "../tools/"} \ No newline at end of file +tools = { path = "../tools/"} diff --git a/common/logger/Cargo.toml b/common/logger/Cargo.toml index bcab0f8719d6..3842f28b68d2 100644 --- a/common/logger/Cargo.toml +++ b/common/logger/Cargo.toml @@ -33,4 +33,4 @@ failure = { package = "failure_ext", path = "../failure_ext" } [dev-dependencies] rand = "0.6.5" -regex = "1.2.1" +regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] } diff --git a/language/compiler/ir_to_bytecode/syntax/Cargo.toml b/language/compiler/ir_to_bytecode/syntax/Cargo.toml index 728c3e58129a..22d6d15a345f 100644 --- a/language/compiler/ir_to_bytecode/syntax/Cargo.toml +++ b/language/compiler/ir_to_bytecode/syntax/Cargo.toml @@ -11,7 +11,7 @@ build = "build.rs" codespan = "0.1.3" hex = "0.3.2" lalrpop-util = "0.16.3" -regex = "1.2.1" +regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] } types = { path = "../../../../types" } [dev-dependencies] diff --git a/language/functional_tests/Cargo.toml b/language/functional_tests/Cargo.toml index 3f4fec1069f0..f04c99a2acf7 100644 --- a/language/functional_tests/Cargo.toml +++ b/language/functional_tests/Cargo.toml @@ -19,7 +19,7 @@ transaction_builder = { path = "../transaction_builder" } filecheck = "0.4.0" datatest = "0.3.5" lazy_static = "1.3.0" -regex = "1.2.1" +regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] } [dev-dependencies] types = { path = "../../types", features = ["testing"] } diff --git a/testsuite/cluster_test/Cargo.toml b/testsuite/cluster_test/Cargo.toml index eeb29005bb25..a55f9024c1ef 100644 --- a/testsuite/cluster_test/Cargo.toml +++ b/testsuite/cluster_test/Cargo.toml @@ -12,7 +12,7 @@ flate2 = { version = "1.0", features = ["rust_backend"], default-features = fals grpcio = { version = "0.4.4", default-features = false } itertools = "0.8.0" rand = "0.6.5" -regex = "1.2.1" +regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] } reqwest = { version="0.9.19", features=["rustls-tls"], default_features = false } rusoto_core = {version = "0.40.0", features=["rustls"], default_features = false} rusoto_ec2 = {version = "0.40.0", features=["rustls"], default_features = false}