diff --git a/Cargo.lock b/Cargo.lock index 313fd6adc6ae..c1227640db52 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1746,9 +1746,9 @@ checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" [[package]] name = "memchr" -version = "2.6.4" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memfd" @@ -2167,14 +2167,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex-automata 0.3.3", + "regex-syntax 0.7.4", ] [[package]] @@ -2191,16 +2191,10 @@ name = "regex-automata" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310" - -[[package]] -name = "regex-automata" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.7.4", ] [[package]] @@ -2211,9 +2205,9 @@ checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" [[package]] name = "region" diff --git a/Cargo.toml b/Cargo.toml index 079b9c9697e4..d912807f3239 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,7 +56,6 @@ tokio = { workspace = true, optional = true, features = [ "signal", "macros" ] } hyper = { workspace = true, optional = true } http-body-util = { workspace = true, optional = true } - [target.'cfg(unix)'.dependencies] rustix = { workspace = true, features = ["mm", "param"] } @@ -256,6 +255,7 @@ cfg-if = "1.0" tempfile = "3.1.0" filecheck = "0.5.0" libc = "0.2.60" +regex = "1.9.1" file-per-thread-logger = "0.2.0" tokio = { version = "1.26.0", features = [ "rt", "time" ] } hyper = "=1.0.0-rc.3" @@ -417,4 +417,4 @@ overflow-checks = false incremental = false debug-assertions = false overflow-checks = false -opt-level = 's' +opt-level = 's' \ No newline at end of file diff --git a/cranelift/filetests/Cargo.toml b/cranelift/filetests/Cargo.toml index f167f9a55bf2..4c6d2f23a17e 100644 --- a/cranelift/filetests/Cargo.toml +++ b/cranelift/filetests/Cargo.toml @@ -39,6 +39,4 @@ cranelift.workspace = true env_logger = { workspace = true } expect-test = { workspace = true } smallvec = { workspace = true } - -[dev-dependencies] -regex = "1.5" +regex = { workspace = true } \ No newline at end of file