Skip to content

Commit a79f67e

Browse files
committed
[easy] Trim the regex dependency
See rust-lang/regex#613 as it turns out we never use regex in a Unicode context, trim its transitive dependencies
1 parent 7bb5e10 commit a79f67e

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

benchmark/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ grpcio = "0.4"
1212
lazy_static = "1.2.0"
1313
protobuf = "~2.7"
1414
rand = "0.7.0"
15-
regex = "1.2.1"
15+
regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] }
1616
structopt = "0.2.15"
1717
num_cpus = "1.10.1"
1818

common/grpcio-client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ protobuf = "~2.7"
1111
protobuf-codegen = "2.*"
1212
protoc = "2.*"
1313
protoc-grpcio = "1.0.1"
14-
regex = "1.2.1"
14+
regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] }
1515

16-
tools = { path = "../tools/"}
16+
tools = { path = "../tools/"}

common/logger/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ failure = { package = "failure_ext", path = "../failure_ext" }
3333

3434
[dev-dependencies]
3535
rand = "0.6.5"
36-
regex = "1.2.1"
36+
regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] }

language/compiler/ir_to_bytecode/syntax/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build = "build.rs"
1111
codespan = "0.1.3"
1212
hex = "0.3.2"
1313
lalrpop-util = "0.16.3"
14-
regex = "1.2.1"
14+
regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] }
1515
types = { path = "../../../../types" }
1616

1717
[dev-dependencies]

language/functional_tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ transaction_builder = { path = "../transaction_builder" }
1919
filecheck = "0.4.0"
2020
datatest = "0.3.5"
2121
lazy_static = "1.3.0"
22-
regex = "1.2.1"
22+
regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] }
2323

2424
[dev-dependencies]
2525
types = { path = "../../types", features = ["testing"] }

testsuite/cluster_test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ flate2 = { version = "1.0", features = ["rust_backend"], default-features = fals
1212
grpcio = { version = "0.4.4", default-features = false }
1313
itertools = "0.8.0"
1414
rand = "0.6.5"
15-
regex = "1.2.1"
15+
regex = { version = "1.3.0", default-features = false, features = ["std", "perf"] }
1616
reqwest = { version="0.9.19", features=["rustls-tls"], default_features = false }
1717
rusoto_core = {version = "0.40.0", features=["rustls"], default_features = false}
1818
rusoto_ec2 = {version = "0.40.0", features=["rustls"], default_features = false}

0 commit comments

Comments
 (0)