From eebf271d6caaa06a89362984858500bed8d8f0af Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Thu, 31 Aug 2023 10:15:36 +0200 Subject: [PATCH] chore: use a workspace dependency for assert-json-diff --- Cargo.toml | 1 + crates/matrix-sdk-ui/Cargo.toml | 2 +- crates/matrix-sdk/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ac19c874e..cdc839ebb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,7 @@ rust-version = "1.70" [workspace.dependencies] anyhow = "1.0.68" +assert-json-diff = "2" assert_matches = "1.5.0" async-rx = "0.1.3" async-stream = "0.3.3" diff --git a/crates/matrix-sdk-ui/Cargo.toml b/crates/matrix-sdk-ui/Cargo.toml index af562c07c..48b1c78a8 100644 --- a/crates/matrix-sdk-ui/Cargo.toml +++ b/crates/matrix-sdk-ui/Cargo.toml @@ -45,7 +45,7 @@ unicode-normalization = "0.1.22" [dev-dependencies] anyhow = { workspace = true } -assert-json-diff = "2.0" +assert-json-diff = { workspace = true } assert_matches = { workspace = true } ctor = { workspace = true } eyeball-im-util = { workspace = true } diff --git a/crates/matrix-sdk/Cargo.toml b/crates/matrix-sdk/Cargo.toml index 4d55d361a..2e50be219 100644 --- a/crates/matrix-sdk/Cargo.toml +++ b/crates/matrix-sdk/Cargo.toml @@ -138,7 +138,7 @@ tokio = { workspace = true, features = ["fs", "rt", "macros"] } [dev-dependencies] anyhow = { workspace = true } -assert-json-diff = "2.0" +assert-json-diff = { workspace = true } assert_matches = { workspace = true } dirs = "5.0.1" futures-executor = { workspace = true }