From 1e7b3bf331b050c228705804663eca93a2d108f2 Mon Sep 17 00:00:00 2001 From: Shannon Tenner Date: Mon, 18 Nov 2024 11:09:53 +0200 Subject: [PATCH] fix cargo fmt --- src-tauri/Cargo.lock | 7 ------- src-tauri/Cargo.toml | 1 - src-tauri/src/commands.rs | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index c6291146b..56c7dcd2c 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -2733,12 +2733,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "human_format" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c3b1f728c459d27b12448862017b96ad4767b1ec2ec5e6434e99f1577f085b8" - [[package]] name = "humantime" version = "2.1.0" @@ -6736,7 +6730,6 @@ dependencies = [ "flate2", "futures-lite", "futures-util", - "human_format", "jsonwebtoken", "keyring", "libsqlite3-sys", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 3376e627b..e619877b8 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -25,7 +25,6 @@ dyn-clone = "1.0.17" flate2 = "1.0.30" futures-lite = "2.3.0" futures-util = "0.3.30" -human_format = "1.1.0" jsonwebtoken = "9.3.0" keyring = { version = "3.0.5", features = [ "windows-native", diff --git a/src-tauri/src/commands.rs b/src-tauri/src/commands.rs index 1cf02eeaf..511ec9829 100644 --- a/src-tauri/src/commands.rs +++ b/src-tauri/src/commands.rs @@ -31,7 +31,7 @@ use std::thread::{available_parallelism, sleep}; use std::time::{Duration, Instant, SystemTime}; use tari_common::configuration::Network; use tari_core::transactions::tari_amount::MicroMinotari; -use tauri::{Manager}; +use tauri::Manager; #[tauri::command] pub async fn set_mode(