From ca13be020cc25f5aba7b76e86e3be4b730ad8b6d Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Mon, 18 Mar 2024 15:33:27 +0000 Subject: [PATCH] build: Make wiremock a workspace dependency --- Cargo.toml | 1 + crates/matrix-sdk-ui/Cargo.toml | 2 +- crates/matrix-sdk/Cargo.toml | 2 +- testing/matrix-sdk-integration-testing/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1269865a1..012944bb7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,6 +63,7 @@ tracing-core = "0.1.32" uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "789a9023b522562a95618443cee5a0d4f111c4c7" } uniffi_bindgen = { git = "https://github.com/mozilla/uniffi-rs", rev = "789a9023b522562a95618443cee5a0d4f111c4c7" } vodozemac = "0.5.1" +wiremock = "0.5.21" zeroize = "1.6.0" matrix-sdk = { path = "crates/matrix-sdk", version = "0.7.0", default-features = false } diff --git a/crates/matrix-sdk-ui/Cargo.toml b/crates/matrix-sdk-ui/Cargo.toml index d86bff99b..7066020e1 100644 --- a/crates/matrix-sdk-ui/Cargo.toml +++ b/crates/matrix-sdk-ui/Cargo.toml @@ -62,4 +62,4 @@ matrix-sdk = { workspace = true, features = ["testing"] } matrix-sdk-test = { workspace = true } stream_assert = { workspace = true } tempfile = "3.3.0" -wiremock = "0.5.13" +wiremock = { workspace = true } diff --git a/crates/matrix-sdk/Cargo.toml b/crates/matrix-sdk/Cargo.toml index 8d861c58f..48d0446eb 100644 --- a/crates/matrix-sdk/Cargo.toml +++ b/crates/matrix-sdk/Cargo.toml @@ -142,7 +142,7 @@ backoff = { version = "0.4.0", features = ["tokio"] } reqwest = { version = "0.11.10", default_features = false, features = ["stream"] } tokio = { workspace = true, features = ["fs", "rt", "macros"] } tokio-util = "0.7.9" -wiremock = { version = "0.5.13", optional = true } +wiremock = { workspace = true, optional = true } [dev-dependencies] anyhow = { workspace = true } diff --git a/testing/matrix-sdk-integration-testing/Cargo.toml b/testing/matrix-sdk-integration-testing/Cargo.toml index 1971999dc..972046ffd 100644 --- a/testing/matrix-sdk-integration-testing/Cargo.toml +++ b/testing/matrix-sdk-integration-testing/Cargo.toml @@ -26,4 +26,4 @@ serde_json = "1.0.108" tempfile = "3.3.0" tokio = { workspace = true, features = ["rt", "rt-multi-thread", "macros"] } tracing = { workspace = true } -wiremock = "0.5.21" +wiremock = { workspace = true }