From 6f3436187cf4e4e69c381c788742489e5cb784b0 Mon Sep 17 00:00:00 2001 From: Hinton Date: Fri, 15 Mar 2024 16:27:04 +0100 Subject: [PATCH] Add bitwarden crate to workspace root --- Cargo.toml | 1 + crates/bitwarden-json/Cargo.toml | 2 +- crates/bitwarden-uniffi/Cargo.toml | 2 +- crates/bw/Cargo.toml | 5 +---- crates/bws/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 96dece43b..d85834cd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ keywords = ["bitwarden"] # Define dependencies that are expected to be consistent across all crates [workspace.dependencies] +bitwarden = { path = "crates/bitwarden", version = "0.4.0" } bitwarden-api-api = { path = "crates/bitwarden-api-api", version = "0.2.3" } bitwarden-api-identity = { path = "crates/bitwarden-api-identity", version = "=0.2.3" } bitwarden-crypto = { path = "crates/bitwarden-crypto", version = "=0.1.0" } diff --git a/crates/bitwarden-json/Cargo.toml b/crates/bitwarden-json/Cargo.toml index e0f0f9070..96174f291 100644 --- a/crates/bitwarden-json/Cargo.toml +++ b/crates/bitwarden-json/Cargo.toml @@ -26,4 +26,4 @@ schemars = ">=0.8.12, <0.9" serde = { version = ">=1.0, <2.0", features = ["derive"] } serde_json = ">=1.0.96, <2.0" -bitwarden = { path = "../bitwarden" } +bitwarden = { workspace = true } diff --git a/crates/bitwarden-uniffi/Cargo.toml b/crates/bitwarden-uniffi/Cargo.toml index 25b2d8f07..94572b991 100644 --- a/crates/bitwarden-uniffi/Cargo.toml +++ b/crates/bitwarden-uniffi/Cargo.toml @@ -27,7 +27,7 @@ env_logger = "0.11.1" schemars = { version = ">=0.8, <0.9", optional = true } uniffi = "=0.26.1" -bitwarden = { path = "../bitwarden", features = ["mobile", "internal"] } +bitwarden = { workspace = true, features = ["mobile", "internal"] } bitwarden-crypto = { workspace = true, features = ["mobile"] } bitwarden-generators = { workspace = true, features = ["mobile"] } diff --git a/crates/bw/Cargo.toml b/crates/bw/Cargo.toml index 4545546db..951db3cdf 100644 --- a/crates/bw/Cargo.toml +++ b/crates/bw/Cargo.toml @@ -21,10 +21,7 @@ inquire = "0.6.2" log = "0.4.20" tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] } -bitwarden = { path = "../bitwarden", version = "0.4.0", features = [ - "internal", - "mobile", -] } +bitwarden = { workspace = true, features = ["internal", "mobile"] } bitwarden-cli = { path = "../bitwarden-cli", version = "0.1.0" } [dev-dependencies] diff --git a/crates/bws/Cargo.toml b/crates/bws/Cargo.toml index 4b1e0a5c5..4d0b235e6 100644 --- a/crates/bws/Cargo.toml +++ b/crates/bws/Cargo.toml @@ -42,7 +42,7 @@ tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] } toml = "0.8.10" uuid = { version = "^1.7.0", features = ["serde"] } -bitwarden = { path = "../bitwarden", version = "0.4.0", features = ["secrets"] } +bitwarden = { workspace = true, features = ["secrets"] } [dev-dependencies] tempfile = "3.10.0"