From 558ca9659c043e354e8e718bd6cfae6376ff039c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 14:04:44 -0400 Subject: [PATCH] build(deps): bump the cargo-dependencies group with 3 updates (#580) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps the cargo-dependencies group with 3 updates: [anyhow](https://github.com/dtolnay/anyhow), [itertools](https://github.com/rust-itertools/itertools) and [ratatui](https://github.com/ratatui-org/ratatui). Updates `anyhow` from 1.0.83 to 1.0.86
Release notes

Sourced from anyhow's releases.

1.0.86

1.0.85

1.0.84

Commits

Updates `itertools` from 0.12.1 to 0.13.0
Changelog

Sourced from itertools's changelog.

0.13.0

Breaking

Added

Changed

Notable Internal Changes

Commits

Updates `ratatui` from 0.26.2 to 0.26.3
Release notes

Sourced from ratatui's releases.

v0.26.3

0.26.3 - 2024-05-19

We are happy to announce a brand new Ratatui Forum 🐭 for Rust & TUI enthusiasts.

This is a patch release that fixes the unicode truncation bug, adds performance and quality of life improvements.

Release highlights: https://ratatui.rs/highlights/v0263/

Features

Bug Fixes

... (truncated)

Changelog

Sourced from ratatui's changelog.

0.26.3 - 2024-05-19

We are happy to announce a brand new Ratatui Forum 🐭 for Rust & TUI enthusiasts.

This is a patch release that fixes the unicode truncation bug, adds performance and quality of life improvements.

Release highlights: https://ratatui.rs/highlights/v0263/

Features

Bug Fixes

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dheepak Krishnamurthy --- Cargo.lock | 33 ++++++++++++++++++--------------- Cargo.toml | 4 ++-- src/app.rs | 6 +++--- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 33e9a829..9c4c09c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -110,9 +110,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.83" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "arc-swap" @@ -706,12 +706,6 @@ dependencies = [ "hashbrown", ] -[[package]] -name = "indoc" -version = "2.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c785eefb63ebd0e33416dfcb8d6da0bf27ce752843a45632a67bf10d4d4b5c4" - [[package]] name = "is_terminal_polyfill" version = "1.70.0" @@ -727,6 +721,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" @@ -1048,21 +1051,21 @@ dependencies = [ [[package]] name = "ratatui" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a564a852040e82671dc50a37d88f3aa83bbc690dfc6844cfe7a2591620206a80" +checksum = "f44c9e68fd46eda15c646fbb85e1040b657a58cdc8c98db1d97a55930d991eef" dependencies = [ "bitflags 2.4.0", "cassowary", "compact_str", "crossterm", - "indoc", - "itertools", + "itertools 0.12.1", "lru", "paste", "stability", "strum", "unicode-segmentation", + "unicode-truncate", "unicode-width", ] @@ -1419,7 +1422,7 @@ dependencies = [ "crossterm", "dirs", "futures", - "itertools", + "itertools 0.13.0", "lazy_static", "log", "log4rs", @@ -1541,7 +1544,7 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a5fbabedabe362c618c714dbefda9927b5afc8e2a8102f47f081089a9019226" dependencies = [ - "itertools", + "itertools 0.12.1", "unicode-width", ] @@ -1594,7 +1597,7 @@ version = "6.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38a8931f8d167b6448076020e70b9de46dcf5ea1731212481a092d0071c4ac5b" dependencies = [ - "itertools", + "itertools 0.12.1", "nom", ] diff --git a/Cargo.toml b/Cargo.toml index 19d86354..1a3e2fb8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ categories = ["command-line-utilities"] [dependencies] -anyhow = "1.0.83" +anyhow = "1.0.86" better-panic = "0.3.0" cassowary = "0.3.0" chrono = "0.4.38" @@ -21,7 +21,7 @@ clap = { version = "4.4.188", features = ["derive"] } crossterm = { version = "0.27.0", features = ["event-stream"] } dirs = "5.0.1" futures = "0.3.30" -itertools = "0.12.1" +itertools = "0.13.0" lazy_static = "1.4.0" log = "0.4.21" log4rs = "1.3.0" diff --git a/src/app.rs b/src/app.rs index 204a03f2..63850d12 100644 --- a/src/app.rs +++ b/src/app.rs @@ -3844,11 +3844,11 @@ mod tests { view.push('"'); for (x, c) in cells.iter().enumerate() { if skip == 0 { - view.push_str(&c.symbol); + view.push_str(c.symbol()); } else { - overwritten.push((x, &c.symbol)) + overwritten.push((x, c.symbol())) } - skip = std::cmp::max(skip, c.symbol.width()).saturating_sub(1); + skip = std::cmp::max(skip, c.symbol().width()).saturating_sub(1); } view.push('"'); if !overwritten.is_empty() {