From 6a26ec9027f92c602c346dc09249348f6bad866b Mon Sep 17 00:00:00 2001 From: Quantum Explorer Date: Sun, 20 Oct 2024 00:41:11 +0700 Subject: [PATCH 1/2] chore: clean deps --- Cargo.toml | 14 ++------------ src/ui/identities/add_new_identity_screen.rs | 3 +-- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 717fff7e2..506a4fbd4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,36 +13,28 @@ accesskit = "=0.16.1" egui = { version = "0.29.1" } egui_extras = "0.29.1" qrcode = "0.14.1" -#dash-spv-masternode-processor = { git = "https://github.com/dashpay/dash-shared-core", branch = "main" } eframe = { version = "0.29.1", features = ["persistence"] } strum = { version = "0.26.1", features = ["derive"] } bs58 = "0.5.0" base64 = "0.22.1" copypasta = "0.10.1" -dash-sdk = { git = "https://github.com/dashpay/platform", branch = "refactor/replaceBLSLibrary" } +dash-sdk = { git = "https://github.com/dashpay/platform", branch = "refactor/replaceBLSLibrary", features = ["tokio-sleep"] } thiserror = "1" serde = "1.0.197" serde_json = "1.0.120" -toml = { version = "0.8.10", features = ["display"] } tokio = { version = "1.36.0", features = ["full"] } -reqwest = { version = "0.12.3", features = ["json"] } bincode = { version = "2.0.0-rc.3", features = ["serde"] } hex = { version = "0.4.3" } itertools = "0.13.0" futures = "0.3.30" -walkdir = "2" rand = "0.8" -memoize = "0.4.2" tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } dotenvy = "0.15.7" envy = "0.4.2" -clap = { version = "4.5.20", features = ["derive"] } -governor = "0.6.3" tokio-util = "0.7.10" chrono = "0.4" chrono-humanize = "0.2.3" -dashmap = "5.5.3" grovedb-version = "2.0.3" sha2 = "0.10.8" arboard = { version = "3.4.0", default-features = false, features = [ @@ -50,9 +42,7 @@ arboard = { version = "3.4.0", default-features = false, features = [ ] } enum_dispatch = "0.3.13" -hdrhistogram = "7.5.4" rusqlite = { version = "0.32.1" } serde_yaml = "0.9.34+deprecated" -image = "0.25.2" -openssl = { version = "0.10", features = ["vendored"] } +image = { version = "0.25.2", default-features = false, features = ["png"] } bitflags = "2.6.0" \ No newline at end of file diff --git a/src/ui/identities/add_new_identity_screen.rs b/src/ui/identities/add_new_identity_screen.rs index 628a7af07..51e289a34 100644 --- a/src/ui/identities/add_new_identity_screen.rs +++ b/src/ui/identities/add_new_identity_screen.rs @@ -5,11 +5,10 @@ use crate::platform::identity::{IdentityRegistrationInfo, IdentityTask}; use crate::platform::BackendTask; use crate::ui::components::top_panel::add_top_panel; use crate::ui::ScreenLike; -use copypasta::{ClipboardContext, ClipboardProvider}; use dash_sdk::dpp::balances::credits::Duffs; use dash_sdk::dpp::identity::KeyType; use eframe::egui::Context; -use egui::{Color32, ColorImage, ComboBox, TextureHandle}; +use egui::{Color32, ColorImage, ComboBox}; use image::Luma; use qrcode::QrCode; use serde::Deserialize; From d9e87cebbc6621c3e3ce7eb9bd9f2493220ce7bb Mon Sep 17 00:00:00 2001 From: Quantum Explorer Date: Sun, 20 Oct 2024 00:51:40 +0700 Subject: [PATCH 2/2] more clean up --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 506a4fbd4..4f1cff967 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ strum = { version = "0.26.1", features = ["derive"] } bs58 = "0.5.0" base64 = "0.22.1" copypasta = "0.10.1" -dash-sdk = { git = "https://github.com/dashpay/platform", branch = "refactor/replaceBLSLibrary", features = ["tokio-sleep"] } +dash-sdk = { git = "https://github.com/dashpay/platform", branch = "refactor/replaceBLSLibrary" } thiserror = "1" serde = "1.0.197" serde_json = "1.0.120"