From c7583ecdb71e4cd641020dbe78fb814c18de389e Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Tue, 14 Mar 2023 00:04:36 +0100 Subject: [PATCH] Pin to `reedline` 0.17 (#8441) # Description See release notes: https://github.com/nushell/reedline/releases/tag/v0.17.0 --- Cargo.lock | 5 +++-- Cargo.toml | 4 ++-- crates/nu-cli/Cargo.toml | 2 +- crates/nu-command/Cargo.toml | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 74ecfc0fe0..72a8850354 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4277,8 +4277,9 @@ dependencies = [ [[package]] name = "reedline" -version = "0.16.0" -source = "git+https://github.com/nushell/reedline.git?branch=main#6a67d27e70132ecce1c8dbbc0be94e72fc95ff32" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3afcd7fc553d129e9a03d17f15c4b4748baa589570f01a372caae2de81989b8" dependencies = [ "chrono", "crossterm 0.24.0", diff --git a/Cargo.toml b/Cargo.toml index 0cabb81d73..2b0848c57a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ nu-table = { path = "./crates/nu-table", version = "0.76.1" } nu-term-grid = { path = "./crates/nu-term-grid", version = "0.76.1" } nu-utils = { path = "./crates/nu-utils", version = "0.76.1" } -reedline = { version = "0.16.0", features = ["bashisms", "sqlite"] } +reedline = { version = "0.17.0", features = ["bashisms", "sqlite"] } rayon = "1.7.0" is_executable = "1.0.1" @@ -157,7 +157,7 @@ bench = false # To use a development version of a dependency please use a global override here # changing versions in each sub-crate of the workspace is tedious [patch.crates-io] -reedline = { git = "https://github.com/nushell/reedline.git", branch = "main" } +# reedline = { git = "https://github.com/nushell/reedline.git", branch = "main" } # nu-ansi-term = {git = "https://github.com/nushell/nu-ansi-term.git", branch = "main"} # Criterion benchmarking setup diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml index 3be8580b91..daa339674e 100644 --- a/crates/nu-cli/Cargo.toml +++ b/crates/nu-cli/Cargo.toml @@ -24,7 +24,7 @@ nu-utils = { path = "../nu-utils", version = "0.76.1" } nu-ansi-term = "0.47.0" nu-color-config = { path = "../nu-color-config", version = "0.76.1" } -reedline = { version = "0.16.0", features = ["bashisms", "sqlite"] } +reedline = { version = "0.17.0", features = ["bashisms", "sqlite"] } atty = "0.2.14" chrono = { default-features = false, features = ["std"], version = "0.4.23" } diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index 849a594ad6..fbb28b95d2 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -83,7 +83,7 @@ serde_yaml = "0.9.4" sha2 = "0.10.0" # Disable default features b/c the default features build Git (very slow to compile) percent-encoding = "2.2.0" -reedline = { version = "0.16.0", features = ["bashisms", "sqlite"] } +reedline = { version = "0.17.0", features = ["bashisms", "sqlite"] } rusqlite = { version = "0.28.0", features = ["bundled"], optional = true } sqlparser = { version = "0.30.0", features = ["serde"], optional = true } sysinfo = "0.28.2"