Skip to content

Commit a3734a5

Browse files
committed
Reapply "chore(cargo): bump rustyline from 14.0.0 to 15.0.0"
This reverts commit 6cd6aca.
1 parent 30e1df0 commit a3734a5

File tree

4 files changed

+21
-14
lines changed

4 files changed

+21
-14
lines changed

Cargo.lock

Lines changed: 16 additions & 10 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 = "14"
16+
rustyline = "15"
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::{Highlighter, MatchingBracketHighlighter};
25+
use rustyline::highlight::{CmdKind as HighlightCmdKind, 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, forced: bool) -> bool {
302-
self.highlighter.highlight_char(line, pos, forced)
301+
fn highlight_char(&self, line: &str, pos: usize, kind: HighlightCmdKind) -> bool {
302+
self.highlighter.highlight_char(line, pos, kind)
303303
}
304304
}
305305

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ skip = [
5454
{ name = "thiserror-impl", version = "1.0.69" },
5555
{ name = "thiserror", version = "1.0.69" },
5656
{ name = "time", version = "<0.3" },
57+
{ name = "unicode-width", version = "0.1.11" },
5758
{ name = "wasi", version = "<0.11" },
5859
{ name = "windows_aarch64_gnullvm", version = "<0.52" },
5960
{ name = "windows_aarch64_msvc", version = "<0.52" },

0 commit comments

Comments
 (0)