Relax version requirements on textwrap.

- Also accept version 0.15.x of `textwrap`.
This commit is contained in:
Neal H. Walfield 2024-02-29 17:20:40 +01:00
parent 139ee6e044
commit 828eb4dd44
No known key found for this signature in database
GPG Key ID: 6863C9AD5B4D22D3
2 changed files with 3 additions and 15 deletions

16
Cargo.lock generated
View File

@ -2928,7 +2928,7 @@ dependencies = [
"anyhow",
"serde",
"serde_yaml 0.8.26",
"textwrap 0.15.2",
"textwrap",
"thiserror",
]
@ -3368,8 +3368,7 @@ dependencies = [
"tempfile",
"termcolor",
"terminal_size",
"textwrap 0.15.2",
"textwrap 0.16.1",
"textwrap",
"tokio",
]
@ -3845,17 +3844,6 @@ dependencies = [
"unicode-width",
]
[[package]]
name = "textwrap"
version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
dependencies = [
"smawk",
"unicode-linebreak",
"unicode-width",
]
[[package]]
name = "thiserror"
version = "1.0.57"

View File

@ -66,7 +66,7 @@ serde = { version = "1.0.137", features = ["derive"] }
sequoia-openpgp = { version = "1.17", default-features = false }
sequoia-net = { version = "0.28", default-features = false }
subplot-build = { version = ">=0.7, <0.10", optional = true }
textwrap = "0.16"
textwrap = ">=0.15, <0.17"
cfg-if = "1"
terminal_size = ">=0.2.6, <0.4"