dedupe env_logger, drop is-terminal

This commit is contained in:
klensy 2024-02-22 14:35:21 +03:00
parent 15bc68118f
commit 53efefb3c2
3 changed files with 5 additions and 29 deletions

View file

@ -1224,19 +1224,6 @@ dependencies = [
"regex", "regex",
] ]
[[package]]
name = "env_logger"
version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580"
dependencies = [
"humantime",
"is-terminal",
"log",
"regex",
"termcolor",
]
[[package]] [[package]]
name = "env_logger" name = "env_logger"
version = "0.11.2" version = "0.11.2"
@ -2058,17 +2045,6 @@ version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
[[package]]
name = "is-terminal"
version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b"
dependencies = [
"hermit-abi",
"libc",
"windows-sys 0.52.0",
]
[[package]] [[package]]
name = "itertools" name = "itertools"
version = "0.11.0" version = "0.11.0"
@ -2364,7 +2340,7 @@ dependencies = [
"clap", "clap",
"clap_complete", "clap_complete",
"elasticlunr-rs", "elasticlunr-rs",
"env_logger 0.11.2", "env_logger",
"handlebars", "handlebars",
"log", "log",
"memchr", "memchr",
@ -2708,7 +2684,7 @@ dependencies = [
"camino", "camino",
"clap", "clap",
"derive_builder", "derive_builder",
"env_logger 0.10.2", "env_logger",
"fs_extra", "fs_extra",
"glob", "glob",
"humansize", "humansize",
@ -3325,7 +3301,7 @@ name = "rustbook"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"clap", "clap",
"env_logger 0.10.2", "env_logger",
"mdbook", "mdbook",
] ]

View file

@ -5,7 +5,7 @@ edition = "2021"
[dependencies] [dependencies]
build_helper = { path = "../build_helper" } build_helper = { path = "../build_helper" }
env_logger = "0.10" env_logger = "0.11"
log = "0.4" log = "0.4"
anyhow = { version = "1", features = ["backtrace"] } anyhow = { version = "1", features = ["backtrace"] }
humantime = "2" humantime = "2"

View file

@ -6,7 +6,7 @@ edition = "2021"
[dependencies] [dependencies]
clap = "4.0.32" clap = "4.0.32"
env_logger = "0.10" env_logger = "0.11"
[dependencies.mdbook] [dependencies.mdbook]
version = "0.4.37" version = "0.4.37"