From ca92d4460bf8fd6008ba477f047c20cdb2979f93 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 21 Nov 2024 18:55:16 +0100 Subject: [PATCH] Clean up cargo dependencies --- Cargo.lock | 13 ------------- crates/bitwarden-ssh/Cargo.toml | 22 +++++++--------------- 2 files changed, 7 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5c0914c4..9b1c5277 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -579,24 +579,11 @@ dependencies = [ name = "bitwarden-ssh" version = "1.0.0" dependencies = [ - "async-trait", - "base64", - "bitwarden-core", - "bitwarden-crypto", "bitwarden-error", "bitwarden-vault", - "chrono", - "coset", - "itertools 0.13.0", "js-sys", - "log", - "p256", "rand", "rand_chacha", - "reqwest", - "schemars", - "serde", - "serde_json", "ssh-encoding", "ssh-key", "thiserror", diff --git a/crates/bitwarden-ssh/Cargo.toml b/crates/bitwarden-ssh/Cargo.toml index 828141de..ad1b6fdd 100644 --- a/crates/bitwarden-ssh/Cargo.toml +++ b/crates/bitwarden-ssh/Cargo.toml @@ -14,7 +14,7 @@ license-file.workspace = true keywords.workspace = true [features] -uniffi = ["dep:uniffi", "bitwarden-core/uniffi", "bitwarden-vault/uniffi"] +uniffi = ["dep:uniffi", "bitwarden-vault/uniffi"] wasm = [ "bitwarden-error/wasm", "dep:wasm-bindgen", @@ -23,25 +23,17 @@ wasm = [ ] # WASM support [dependencies] -async-trait = ">=0.1.80, <0.2" -base64 = ">=0.22.1, <0.23" -bitwarden-core = { workspace = true } -bitwarden-crypto = { workspace = true } bitwarden-error = { workspace = true } bitwarden-vault = { workspace = true } -chrono = { workspace = true } -coset = { version = "0.3.7" } -itertools = "0.13.0" -log = ">=0.4.18, <0.5" -p256 = { version = ">=0.13.2, <0.14" } rand = "0.8.5" rand_chacha = "0.3.1" -reqwest = { workspace = true } -schemars = { workspace = true } -serde = { workspace = true } -serde_json = { workspace = true } ssh-encoding = "0.2.0" -ssh-key = { version = "0.6.7", features = ["ed25519", "encryption", "rsa", "getrandom"] } +ssh-key = { version = "0.6.7", features = [ + "ed25519", + "encryption", + "rsa", + "getrandom", +] } thiserror = { workspace = true } uniffi = { workspace = true, optional = true } uuid = { workspace = true }