Skip to content

Commit 6cd6aca

Browse files
committed
Revert "chore(cargo): bump rustyline from 14.0.0 to 15.0.0"
This reverts commit b74ff27.
1 parent 1e1e579 commit 6cd6aca

File tree

4 files changed

+14
-21
lines changed

4 files changed

+14
-21
lines changed

Cargo.lock

Lines changed: 10 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deltachat-repl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ log = { workspace = true }
1313
nu-ansi-term = { workspace = true }
1414
qr2term = "0.3.3"
1515
rusqlite = { workspace = true }
16-
rustyline = "15"
16+
rustyline = "14"
1717
tokio = { workspace = true, features = ["fs", "rt-multi-thread", "macros"] }
1818
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1919

deltachat-repl/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use log::{error, info, warn};
2222
use nu_ansi_term::Color;
2323
use rustyline::completion::{Completer, FilenameCompleter, Pair};
2424
use rustyline::error::ReadlineError;
25-
use rustyline::highlight::{CmdKind as HighlightCmdKind, Highlighter, MatchingBracketHighlighter};
25+
use rustyline::highlight::{Highlighter, MatchingBracketHighlighter};
2626
use rustyline::hint::{Hinter, HistoryHinter};
2727
use rustyline::validate::Validator;
2828
use rustyline::{
@@ -298,8 +298,8 @@ impl Highlighter for DcHelper {
298298
self.highlighter.highlight(line, pos)
299299
}
300300

301-
fn highlight_char(&self, line: &str, pos: usize, kind: HighlightCmdKind) -> bool {
302-
self.highlighter.highlight_char(line, pos, kind)
301+
fn highlight_char(&self, line: &str, pos: usize, forced: bool) -> bool {
302+
self.highlighter.highlight_char(line, pos, forced)
303303
}
304304
}
305305

deny.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ skip = [
5252
{ name = "sync_wrapper", version = "0.1.2" },
5353
{ name = "syn", version = "1.0.109" },
5454
{ name = "time", version = "<0.3" },
55-
{ name = "unicode-width", version = "0.1.11" },
5655
{ name = "wasi", version = "<0.11" },
5756
{ name = "windows_aarch64_gnullvm", version = "<0.52" },
5857
{ name = "windows_aarch64_msvc", version = "<0.52" },

0 commit comments

Comments
 (0)