Skip to content

Commit 251b3be

Browse files
authored
build: remove rustyline support (#216)
1 parent f89e226 commit 251b3be

File tree

10 files changed

+3
-375
lines changed

10 files changed

+3
-375
lines changed

Cargo.lock

+2-86
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For more details, please consult the [reference documentation on integration tes
7474

7575
There's a long list of OSS crates whose shoulders this project rests on. Notably, the following crates are directly relied on for major portions of shell functionality:
7676

77-
* [`reedline`](https://github.com/nushell/reedline) and [`rustyline`](https://github.com/kkawakam/rustyline) - for readline-like input and interactive usage
77+
* [`reedline`](https://github.com/nushell/reedline) - for readline-like input and interactive usage
7878
* [`clap`](https://github.com/clap-rs/clap) - command-line parsing, used both by the top-level brush CLI as well as built-in commands
7979
* [`fancy-regex`](https://github.com/fancy-regex/fancy-regex) - relied on for everything regex
8080
* [`tokio`](https://github.com/tokio-rs/tokio) - async, well, everything

brush-interactive/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ bench = false
1818
default = ["basic"]
1919
basic = []
2020
reedline = ["dep:reedline", "dep:nu-ansi-term"]
21-
rustyline = ["dep:rustyline"]
2221

2322
[lints]
2423
workspace = true
@@ -30,9 +29,6 @@ brush-core = { version = "^0.2.10", path = "../brush-core" }
3029
indexmap = "2.6.0"
3130
nu-ansi-term = { version = "0.50.1", optional = true }
3231
reedline = { version = "0.36.0", optional = true }
33-
rustyline = { package = "brush-rustyline-fork", version = "14.0.1", optional = true, features = [
34-
"derive",
35-
] }
3632
thiserror = "1.0.64"
3733
tracing = "0.1.40"
3834

brush-interactive/src/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ mod reedline;
2222
#[cfg(feature = "reedline")]
2323
pub use reedline::ReedlineShell;
2424

25-
// Rustyline-based shell
26-
#[cfg(feature = "rustyline")]
27-
mod rustyline;
28-
#[cfg(feature = "rustyline")]
29-
pub use rustyline::RustylineShell;
30-
3125
// Basic shell
3226
#[cfg(feature = "basic")]
3327
mod basic;

brush-interactive/src/rustyline/mod.rs

-4
This file was deleted.

0 commit comments

Comments
 (0)