From 0368074ea0f6833fa7e8ac599aab74072efcfc0f Mon Sep 17 00:00:00 2001 From: John Doty Date: Sat, 25 Nov 2023 08:04:40 -0800 Subject: [PATCH] Explicit tokio features Somehow I thought this would make my binary smaller lol --- Cargo.lock | 1 - Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fb471ef..1a5d73a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -666,7 +666,6 @@ dependencies = [ "libc", "mio", "num_cpus", - "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", diff --git a/Cargo.toml b/Cargo.toml index 3b6dc94..3e5ff60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ indoc = "1" log = { version = "0.4", features = ["std"] } open = "3" thiserror = "1.0" -tokio = { version = "1", features = ["full"] } +tokio = { version = "1", features = ["io-std", "io-util", "macros", "net", "process", "rt", "rt-multi-thread"] } tokio-stream = "0.1" toml = "0.5" tui = "0.19"