From ecdb2e7875ccdd014e857a3e07b92d6cbb8d78c1 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 16 Mar 2026 23:46:24 +0000 Subject: [PATCH] fix: gate parking_lot dependency behind storage feature Make parking_lot optional and add it to the storage feature list to match the pattern of other storage-only dependencies. This prevents parking_lot from being compiled when the storage feature is disabled. --- walletkit-core/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/walletkit-core/Cargo.toml b/walletkit-core/Cargo.toml index c076d7c9d..f29541049 100644 --- a/walletkit-core/Cargo.toml +++ b/walletkit-core/Cargo.toml @@ -46,7 +46,7 @@ sha2 = { version = "0.10", optional = true } strum = { version = "0.27", features = ["derive"] } subtle = "2" thiserror = "2" -parking_lot = "0.12" +parking_lot = { version = "0.12", optional = true } tokio = { version = "1", features = ["sync"] } tracing = "0.1" tracing-log = "0.2" @@ -95,6 +95,7 @@ issuers = ["dep:base64"] storage = [ "dep:ciborium", "dep:hkdf", + "dep:parking_lot", "dep:rand", "dep:sha2", "dep:uuid",