Skip to content

Commit b74ff27

Browse files
dependabot[bot]iequidoo
authored andcommitted
chore(cargo): bump rustyline from 14.0.0 to 15.0.0
Bumps [rustyline](https://github.com/kkawakam/rustyline) from 14.0.0 to 15.0.0. - [Release notes](https://github.com/kkawakam/rustyline/releases) - [Changelog](https://github.com/kkawakam/rustyline/blob/master/History.md) - [Commits](kkawakam/rustyline@v14.0.0...v15.0.0) --- updated-dependencies: - dependency-name: rustyline dependency-type: direct:production update-type: version-update:semver-major ...
1 parent a305409 commit b74ff27

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
@@ -52,6 +52,7 @@ 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" },
5556
{ name = "wasi", version = "<0.11" },
5657
{ name = "windows_aarch64_gnullvm", version = "<0.52" },
5758
{ name = "windows_aarch64_msvc", version = "<0.52" },

0 commit comments

Comments
 (0)