Remove inadvertent dep on original ansi_term (#6965)

Is default feature in `lscolors`. Not needed for function as we use
crossterm backend in this case.
This commit is contained in:
Stefan Holderbach 2022-11-01 00:27:20 +01:00 committed by GitHub
parent f48de73236
commit 1d95861a09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 12 deletions

10
Cargo.lock generated
View File

@ -77,15 +77,6 @@ dependencies = [
"ansitok",
]
[[package]]
name = "ansi_term"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "ansitok"
version = "0.2.0"
@ -2105,7 +2096,6 @@ version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "074bff749d092e2e818fe954952102f88e21f67fc69f4d350621aab15a1810f1"
dependencies = [
"ansi_term",
"crossterm 0.24.0",
]

View File

@ -54,7 +54,7 @@ is-root = "0.1.2"
itertools = "0.10.0"
lazy_static = "1.4.0"
log = "0.4.14"
lscolors = { version = "0.12.0", features = ["crossterm"]}
lscolors = { version = "0.12.0", features = ["crossterm"], default-features = false }
md5 = { package = "md-5", version = "0.10.0" }
meval = "0.2.0"
mime = "0.3.16"

View File

@ -13,7 +13,7 @@ name = "utils"
path = "src/main.rs"
[dependencies]
lscolors = { version = "0.12.0", features = ["crossterm"]}
lscolors = { version = "0.12.0", features = ["crossterm"], default-features = false }
num-format = { version = "0.4.3" }
sys-locale = "0.2.1"