fix(deps): use one version of textwrap

This commit is contained in:
Boshen 2023-08-25 12:54:38 +08:00
parent 971f597036
commit ba8ef7bfc7
No known key found for this signature in database
GPG key ID: 234DA6A7079C6801
2 changed files with 5 additions and 16 deletions

19
Cargo.lock generated
View file

@ -1179,7 +1179,7 @@ dependencies = [
"supports-hyperlinks",
"supports-unicode",
"terminal_size",
"textwrap 0.15.2",
"textwrap",
"thiserror",
"unicode-width",
]
@ -1550,7 +1550,7 @@ dependencies = [
"is-terminal",
"miette",
"owo-colors",
"textwrap 0.16.0",
"textwrap",
"thiserror",
"unicode-width",
]
@ -2603,20 +2603,9 @@ dependencies = [
[[package]]
name = "textwrap"
version = "0.15.2"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b7b3e525a49ec206798b40326a44121291b530c963cfb01018f63e135bac543d"
dependencies = [
"smawk",
"unicode-linebreak",
"unicode-width",
]
[[package]]
name = "textwrap"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d"
checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
dependencies = [
"smawk",
"unicode-linebreak",

View file

@ -17,5 +17,5 @@ miette = { workspace = true }
unicode-width = "0.1.10"
owo-colors = { version = "3.5.0" }
textwrap = { version = "0.16.0" }
textwrap = { version = "=0.15.0" } # need to sync with miette
is-terminal = { version = "0.4.9" }