From 9c248edfd07867a6e7d7e89b564b58eb88af0c79 Mon Sep 17 00:00:00 2001 From: Naz Date: Thu, 7 Aug 2025 17:37:51 +0100 Subject: =?UTF-8?q?=F0=9F=94=A7refactor:=20minimize=20tokio=20features=20t?= =?UTF-8?q?o=20essential=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 59 ----------------------------------------------------------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 60 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9aad33e..7ee3b05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -944,16 +944,6 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" -[[package]] -name = "lock_api" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765" -dependencies = [ - "autocfg", - "scopeguard", -] - [[package]] name = "log" version = "0.4.27" @@ -1148,29 +1138,6 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "parking_lot" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets 0.52.6", -] - [[package]] name = "pem" version = "3.0.5" @@ -1270,15 +1237,6 @@ version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" -[[package]] -name = "redox_syscall" -version = "0.5.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" -dependencies = [ - "bitflags", -] - [[package]] name = "reqwest" version = "0.12.22" @@ -1424,12 +1382,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - [[package]] name = "secrecy" version = "0.10.3" @@ -1541,15 +1493,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" -[[package]] -name = "signal-hook-registry" -version = "1.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" -dependencies = [ - "libc", -] - [[package]] name = "simple_asn1" version = "0.6.3" @@ -1789,9 +1732,7 @@ dependencies = [ "io-uring", "libc", "mio", - "parking_lot", "pin-project-lite", - "signal-hook-registry", "slab", "socket2", "tokio-macros", diff --git a/Cargo.toml b/Cargo.toml index 8587e41..c0d1230 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,4 +14,4 @@ octocrab = "0.44.1" reqwest = { version = "0.12.22", features = ["blocking", "json", "stream"] } serde = { version = "1.0.219", features = ["derive"] } serde_json = "1.0.141" -tokio = { version = "1.46.1", features = ["full"] } +tokio = { version = "1.46.1", features = ["fs", "io-util", "macros", "rt-multi-thread"] } -- cgit v1.2.3