From 719047ec58ab4777eb49ae9121eb15a9b5a3ea0d Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Mon, 7 Oct 2024 21:40:14 -0600 Subject: Remove unnecessary tokio features --- Cargo.lock | 29 ----------------------------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f460887..26cf5ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -475,12 +475,6 @@ dependencies = [ "allocator-api2", ] -[[package]] -name = "hermit-abi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" - [[package]] name = "http" version = "0.2.11" @@ -803,16 +797,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi", - "libc", -] - [[package]] name = "object" version = "0.32.2" @@ -1496,24 +1480,11 @@ dependencies = [ "bytes", "libc", "mio", - "num_cpus", "pin-project-lite", "socket2", - "tokio-macros", "windows-sys 0.48.0", ] -[[package]] -name = "tokio-macros" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "tokio-native-tls" version = "0.3.1" diff --git a/Cargo.toml b/Cargo.toml index 6137233..09575e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ futures = "0.3.30" regex = "1.10.2" reqwest = "0.12" serde = { version = "1.0.196", features = [ "derive" ] } -tokio = { version = "1.38.0", features = [ "rt", "macros", "time", "rt-multi-thread" ] } +tokio = { version = "1.38.0", features = [ "rt" ] } toml = "0.8.8" twilight-gateway = "0.15.4" twilight-http = "0.15.4" -- cgit 1.4.1