From 271ef497d78be91751f7c672798bfcfbb8312838 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Thu, 17 Jul 2025 10:40:28 +0200 Subject: [PATCH] crypto: Fix scope of `ssh-key` dependency `radicle-crypto` is the only crate that actually depends on `ssh-key`. I overlooked that previously and added it as a workspace dependency. Now I am limiting its scope again. --- Cargo.toml | 1 - crates/radicle-crypto/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ebe95903..60697ad0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,6 @@ shlex = "1.1.0" signature = "2.2" snapbox = "0.4.3" sqlite = "0.32.0" -ssh-key = { version = "0.6.3", default-features = false } tempfile = "3.3.0" thiserror = "1.0" zeroize = "1.5.7" diff --git a/crates/radicle-crypto/Cargo.toml b/crates/radicle-crypto/Cargo.toml index ff3bdcd8..27df6fd0 100644 --- a/crates/radicle-crypto/Cargo.toml +++ b/crates/radicle-crypto/Cargo.toml @@ -28,7 +28,7 @@ radicle-ssh = { workspace = true, optional = true } serde = { workspace = true, features = ["derive"] } signature = { workspace = true } sqlite = { workspace = true, features = ["bundled"], optional = true } -ssh-key = { workspace = true, features = ["std", "encryption", "getrandom"], optional = true } +ssh-key = { version = "0.6.3", default-features = false, features = ["std", "encryption", "getrandom"], optional = true } thiserror = { workspace = true } zeroize = { workspace = true }