From 8aeba02753366eedc48f53b9902f8b2264c964ea Mon Sep 17 00:00:00 2001 From: xdustinface Date: Wed, 8 Apr 2026 10:57:04 +1000 Subject: [PATCH] chore: cleanup unused dependencies --- dash-spv-ffi/Cargo.toml | 8 -------- dash-spv/Cargo.toml | 6 ------ hashes/Cargo.toml | 1 - 3 files changed, 15 deletions(-) diff --git a/dash-spv-ffi/Cargo.toml b/dash-spv-ffi/Cargo.toml index da11bea58..2e6028e3e 100644 --- a/dash-spv-ffi/Cargo.toml +++ b/dash-spv-ffi/Cargo.toml @@ -14,28 +14,20 @@ crate-type = ["cdylib", "staticlib", "rlib"] [dependencies] dash-spv = { path = "../dash-spv" } dashcore = { path = "../dash", package = "dashcore" } -libc = "0.2" -once_cell = "1.19" tokio = { version = "1", features = ["full"] } tokio-util = "0.7" -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" -log = "0.4" hex = "0.4" -env_logger = "0.10" tracing = "0.1" # Use key-wallet-ffi for all wallet-related FFI types key-wallet-ffi = { path = "../key-wallet-ffi" } # Still need these for SPV client internals (not for FFI types) key-wallet = { path = "../key-wallet" } key-wallet-manager = { path = "../key-wallet-manager" } -rand = "0.8" clap = { version = "4.5", features = ["derive"] } [dev-dependencies] dash-spv = { path = "../dash-spv", features = ["test-utils"] } serial_test = "3.0" -env_logger = "0.10" tempfile = "3.8" [build-dependencies] diff --git a/dash-spv/Cargo.toml b/dash-spv/Cargo.toml index 4e02885c9..d09ad704d 100644 --- a/dash-spv/Cargo.toml +++ b/dash-spv/Cargo.toml @@ -15,9 +15,6 @@ dashcore_hashes = { path = "../hashes" } key-wallet = { path = "../key-wallet" } key-wallet-manager = { path = "../key-wallet-manager", features = ["parallel-filters"] } -# BLS signatures -blsful = { git = "https://github.com/dashpay/agora-blsful", rev = "0c34a7a488a0bd1c9a9a2196e793b303ad35c900" } - # CLI clap = { version = "4.0", features = ["derive", "env"] } @@ -30,12 +27,10 @@ futures = "0.3" # Error handling thiserror = "1.0" -anyhow = "1.0" # Serialization serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -bincode = "2.0.1" # Logging tracing = "0.1" @@ -46,7 +41,6 @@ chrono = "0.4.20" # Utilities rand = "0.8" hex = "0.4" -indexmap = "2.0" # Parallelization rayon = "1.11" diff --git a/hashes/Cargo.toml b/hashes/Cargo.toml index 2253b7e00..84928ccc3 100644 --- a/hashes/Cargo.toml +++ b/hashes/Cargo.toml @@ -29,7 +29,6 @@ internals = { path = "../internals", package = "dashcore-private" } serde = { version = "1.0.219", default-features = false, optional = true } # Do NOT use this as a feature! Use the `schemars` feature instead. Can only be used with "std" enabled. actual-schemars = { package = "schemars", version = "1.0", optional = true } -secp256k1 = { default-features = false, features = ["hashes"], version= "0.30.0" } rs-x11-hash = { version = "0.1.8", optional = true } bincode = { version = "2.0.1", optional = true }