From e0f065b678a00ab15888089b2cdd4b575cda305b Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sun, 12 May 2024 17:13:48 +0200 Subject: [PATCH] Remove unused env_logger dependency from lune crate --- Cargo.lock | 30 ------------------------------ crates/lune/Cargo.toml | 9 +-------- 2 files changed, 1 insertion(+), 38 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 988c44a..bf095de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -779,29 +779,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" -[[package]] -name = "env_filter" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea" -dependencies = [ - "log", - "regex", -] - -[[package]] -name = "env_logger" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b35839ba51819680ba087cd351788c9a3c476841207e0b8cee0b04722343b9" -dependencies = [ - "anstream", - "anstyle", - "env_filter", - "humantime", - "log", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -1182,12 +1159,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hyper" version = "0.14.28" @@ -1478,7 +1449,6 @@ dependencies = [ "console", "dialoguer", "directories", - "env_logger", "futures-util", "include_dir", "lune-roblox", diff --git a/crates/lune/Cargo.toml b/crates/lune/Cargo.toml index 4e43302..81ced84 100644 --- a/crates/lune/Cargo.toml +++ b/crates/lune/Cargo.toml @@ -44,13 +44,7 @@ std = [ "std-task", ] -cli = [ - "dep:env_logger", - "dep:clap", - "dep:include_dir", - "dep:rustyline", - "dep:zip_next", -] +cli = ["dep:clap", "dep:include_dir", "dep:rustyline", "dep:zip_next"] [lints] workspace = true @@ -82,7 +76,6 @@ lune-utils = { version = "0.1.0", path = "../lune-utils" } ### CLI -env_logger = { optional = true, version = "0.11" } clap = { optional = true, version = "4.1", features = ["derive"] } include_dir = { optional = true, version = "0.7", features = ["glob"] } rustyline = { optional = true, version = "14.0" }