From 96c1b15de7a075b7be433972ca66143ac1d6e54e Mon Sep 17 00:00:00 2001 From: DecDuck Date: Thu, 2 Oct 2025 17:14:26 +1000 Subject: [PATCH] remove unneeded deps --- Cargo.lock | 27 --------------------------- Cargo.toml | 5 ----- src/version/backends.rs | 5 ----- 3 files changed, 37 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3dac18e..ad7d362 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -364,15 +364,6 @@ dependencies = [ "unicode-segmentation", ] -[[package]] -name = "crc32fast" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" -dependencies = [ - "cfg-if", -] - [[package]] name = "crossbeam-utils" version = "0.8.21" @@ -476,13 +467,11 @@ dependencies = [ "anyhow", "boa_engine", "dyn-clone", - "flate2", "hex", "md5", "napi", "napi-build", "napi-derive", - "rawzip", "rcgen", "rhai", "ring", @@ -536,16 +525,6 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8eb564c5c7423d25c886fb561d1e4ee69f72354d16918afa32c08811f6b6a55" -[[package]] -name = "flate2" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - [[package]] name = "foldhash" version = "0.1.5" @@ -1263,12 +1242,6 @@ dependencies = [ "getrandom 0.3.3", ] -[[package]] -name = "rawzip" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e512201a808c46ad2a0c810057db306d66b58d5516304548d2445a53db933499" - [[package]] name = "rcgen" version = "0.13.2" diff --git a/Cargo.toml b/Cargo.toml index 09d51e5..32b613a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,18 +19,13 @@ webpki = "0.22.4" ring = "0.17.14" tokio = { version = "1.45.1", features = ["fs", "io-util"] } tokio-util = { version = "0.7.15", features = ["codec"] } -rawzip = "0.3.0" dyn-clone = "1.0.20" -flate2 = "1.1.2" rhai = "1.22.2" # mlua = { version = "0.11.2", features = ["luajit"] } boa_engine = "0.20.0" serde_json = "1.0.143" anyhow = "1.0.99" -[package.metadata.patch] -crates = ["rawzip"] - [dependencies.x509-parser] version = "0.17.0" features = ["verify"] diff --git a/src/version/backends.rs b/src/version/backends.rs index 959ee4d..22dd9c0 100644 --- a/src/version/backends.rs +++ b/src/version/backends.rs @@ -10,11 +10,6 @@ use std::{ }; use anyhow::anyhow; -use flate2::read::DeflateDecoder; -use rawzip::{ - CompressionMethod, FileReader, ZipArchive, ZipArchiveEntryWayfinder, ZipEntry, ZipVerifier, - RECOMMENDED_BUFFER_SIZE, -}; use crate::version::types::{MinimumFileObject, VersionBackend, VersionFile};