From 5fb5df2e616946e00cc76d04f19097b54b64bffe Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Tue, 7 Mar 2023 10:39:45 +0100 Subject: [PATCH] cli: Update `inquire` crate --- Cargo.lock | 10 ++-------- radicle-cli/Cargo.toml | 6 ------ radicle-cli/src/commands/patch/list.rs | 2 +- radicle-term/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 93e8df67..31c2af0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1159,9 +1159,9 @@ dependencies = [ [[package]] name = "inquire" -version = "0.5.3" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a94f0659efe59329832ba0452d3ec753145fc1fb12a8e1d60de4ccf99f5364" +checksum = "fd079157ad94a32f7511b2e13037f3ae417ad80a6a9b0de29154d48b86f5d6c8" dependencies = [ "bitflags", "dyn-clone", @@ -1823,12 +1823,9 @@ version = "0.8.0" dependencies = [ "anyhow", "chrono", - "concolor", - "inquire", "json-color", "lexopt", "log", - "once_cell", "pretty_assertions", "radicle", "radicle-cli-test", @@ -1841,11 +1838,8 @@ dependencies = [ "serde_yaml", "similar", "tempfile", - "termion 2.0.1", "thiserror", "timeago", - "unicode-segmentation", - "unicode-width", "ureq", "zeroize", ] diff --git a/radicle-cli/Cargo.toml b/radicle-cli/Cargo.toml index 79aa8352..a0002d4b 100644 --- a/radicle-cli/Cargo.toml +++ b/radicle-cli/Cargo.toml @@ -13,21 +13,15 @@ path = "src/main.rs" [dependencies] anyhow = { version = "1" } chrono = { version = "0.4", default-features = false, features = ["clock", "std"] } -concolor = { version = "0", features = ["api_unstable"] } -inquire = { version = "0.5.3", default-features = false, features = ["termion", "editor"] } json-color = { version = "0.7" } lexopt = { version = "0.2" } log = { version = "0.4", features = ["std"] } -once_cell = { version = "1.13" } serde = { version = "1.0" } serde_json = { version = "1" } serde_yaml = { version = "0.8" } similar = { version = "2.2.1" } -termion = { version = "2" } thiserror = { version = "1" } timeago = { version = "0.3", default-features = false } -unicode-width = { version = "0.1.10", default-features = false } -unicode-segmentation = { version = "1.7.1" } ureq = { version = "2.6.1", default-features = false, features = ["json"] } zeroize = { version = "1.1" } diff --git a/radicle-cli/src/commands/patch/list.rs b/radicle-cli/src/commands/patch/list.rs index b36445a3..146ca539 100644 --- a/radicle-cli/src/commands/patch/list.rs +++ b/radicle-cli/src/commands/patch/list.rs @@ -5,9 +5,9 @@ use radicle::git; use radicle::prelude::*; use radicle::profile::Profile; use radicle::storage::git::Repository; -use unicode_width::UnicodeWidthStr; use crate::terminal as term; +use term::cell::Cell as _; use super::common; diff --git a/radicle-term/Cargo.toml b/radicle-term/Cargo.toml index e29a9ba0..e45911fc 100644 --- a/radicle-term/Cargo.toml +++ b/radicle-term/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] anyhow = { version = "1" } concolor = { version = "0", features = ["api_unstable"] } -inquire = { version = "0.5.3", default-features = false, features = ["termion", "editor"] } +inquire = { version = "0.6", default-features = false, features = ["termion", "editor"] } once_cell = { version = "1.13" } termion = { version = "2" } unicode-width = { version = "0.1.10", default-features = false }