From 778a00efa10735e7eb368aea1ddfeb6af3d3720a Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Tue, 1 Aug 2023 15:30:31 -0500 Subject: [PATCH] update to current reedline (#9877) # Description This PR updates nushell to use the latest reedline. I swear that was the only change I made. The other reordering stuff is by my vscode extension I guess. closes https://github.com/nushell/nushell/issues/9123 # User-Facing Changes # Tests + Formatting # After Submitting --- Cargo.lock | 3 +-- Cargo.toml | 9 ++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 895712e10e..61eaf53b28 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4117,8 +4117,7 @@ dependencies = [ [[package]] name = "reedline" version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2fde955d11817fdcb79d703932fb6b473192cb36b6a92ba21f7f4ac0513374e" +source = "git+https://github.com/nushell/reedline.git?branch=main#ed5e48e5374942c5a15ed026bb0ffaf973e47964" dependencies = [ "chrono", "crossterm", diff --git a/Cargo.toml b/Cargo.toml index 6eea3fd9b2..1f0b62c23b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,12 +69,11 @@ nu-utils = { path = "./crates/nu-utils", version = "0.83.2" } nu-ansi-term = "0.49.0" reedline = { version = "0.22.0", features = ["bashisms", "sqlite"]} -mimalloc = { version = "0.1.37", default-features = false, optional = true} - crossterm = "0.26" ctrlc = "3.4" log = "0.4" miette = { version = "5.10", features = ["fancy-no-backtrace"] } +mimalloc = { version = "0.1.37", default-features = false, optional = true} serde_json = "1.0" simplelog = "0.12" time = "0.3" @@ -98,12 +97,12 @@ is-terminal = "0.4.8" [dev-dependencies] nu-test-support = { path = "./crates/nu-test-support", version = "0.83.2" } -tempfile = "3.7" assert_cmd = "2.0" criterion = "0.5" pretty_assertions = "1.4" -serial_test = "2.0" rstest = { version = "0.17", default-features = false } +serial_test = "2.0" +tempfile = "3.7" [features] plugin = [ @@ -165,7 +164,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