From afac7e6da3ad64036aec61fcb5a61cf9cd219a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Tue, 7 Jan 2025 14:18:10 +0100 Subject: [PATCH] Remove unused tempfile dependency (#108) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 🎟ī¸ Tracking ## 📔 Objective This dependency seems unused, I noticed that while looking into this renovate PR: https://github.com/bitwarden/sdk-internal/pull/107 ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## đŸĻŽ Reviewer guidelines - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹī¸ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠ī¸ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or â™ģī¸ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- Cargo.lock | 20 -------------------- crates/bw/Cargo.toml | 3 --- 2 files changed, 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1044d6ef..4bf73b73 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -724,7 +724,6 @@ dependencies = [ "env_logger", "inquire", "log", - "tempfile", "tokio", ] @@ -1507,12 +1506,6 @@ dependencies = [ "regex-syntax", ] -[[package]] -name = "fastrand" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" - [[package]] name = "ff" version = "0.13.0" @@ -3822,19 +3815,6 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42a4d50cdb458045afc8131fd91b64904da29548bcb63c7236e0844936c13078" -[[package]] -name = "tempfile" -version = "3.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" -dependencies = [ - "cfg-if", - "fastrand", - "once_cell", - "rustix", - "windows-sys 0.52.0", -] - [[package]] name = "termcolor" version = "1.4.1" diff --git a/crates/bw/Cargo.toml b/crates/bw/Cargo.toml index a2ba807c..367223bc 100644 --- a/crates/bw/Cargo.toml +++ b/crates/bw/Cargo.toml @@ -26,8 +26,5 @@ inquire = "0.7.0" log = "0.4.20" tokio = { workspace = true, features = ["rt-multi-thread"] } -[dev-dependencies] -tempfile = "3.10.0" - [lints] workspace = true