From 4ee2d262788171e411962a507dd1eda04529cdd7 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 5 Jul 2021 13:58:28 -0400 Subject: use the same textwrap version as clap --- Cargo.lock | 30 ++---------------------------- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 29 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2706587..dfabea5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -197,7 +197,7 @@ dependencies = [ "bitflags", "strsim", "term_size", - "textwrap 0.11.0", + "textwrap", "unicode-width", "vec_map", ] @@ -1124,7 +1124,7 @@ dependencies = [ "structopt", "tempfile", "term_size", - "textwrap 0.14.2", + "textwrap", "thiserror", "tokio", "url", @@ -1494,12 +1494,6 @@ version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" -[[package]] -name = "smawk" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f67ad224767faa3c7d8b6d91985b78e70a1324408abcb1cfcc2be4c06bc06043" - [[package]] name = "socket2" version = "0.4.0" @@ -1619,17 +1613,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "textwrap" -version = "0.14.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80" -dependencies = [ - "smawk", - "unicode-linebreak", - "unicode-width", -] - [[package]] name = "thiserror" version = "1.0.26" @@ -1768,15 +1751,6 @@ dependencies = [ "matches", ] -[[package]] -name = "unicode-linebreak" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05a31f45d18a3213b918019f78fe6a73a14ab896807f0aaf5622aa0684749455" -dependencies = [ - "regex", -] - [[package]] name = "unicode-normalization" version = "0.1.19" diff --git a/Cargo.toml b/Cargo.toml index 1f8cc9d..07accec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ sha2 = "0.9" structopt = { version = "0.3", features = ["paw", "wrap_help"] } tempfile = "3.2" term_size = "0.3" -textwrap = "0.14" +textwrap = "0.11" thiserror = "1.0" tokio = { version = "1.8", features = ["full"] } url = "2.2" -- cgit v1.2.3