From 1b601ea06bce3e644fa50c98171949dbd5736a51 Mon Sep 17 00:00:00 2001 From: EdJoPaTo Date: Sat, 8 Jul 2023 11:28:17 +0200 Subject: [PATCH] build: bump msrv to 1.60.0 the log crates requires this after Debian 12/bookworm released --- .github/workflows/rust.yml | 2 +- Cargo.toml | 2 +- examples/example.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 156a474..bac2507 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -52,7 +52,7 @@ jobs: # Sometimes old rust versions don't yet have the lints (allow unknown) or don't have fixes in lints (false positives -> don't error, just warn). # When a certain distro is a target look up its version: https://repology.org/project/rust/versions - os: ubuntu-latest - toolchain: 1.56.1 + toolchain: 1.60.0 clippyargs: -A unknown-lints features: --all-features steps: diff --git a/Cargo.toml b/Cargo.toml index 53843c5..bd6518e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/EdJoPaTo/tui-rs-tree-widget" authors = ["EdJoPaTo "] edition = "2021" -rust-version = "1.56.1" +rust-version = "1.60.0" keywords = ["tui", "terminal", "tree", "widget"] categories = ["command-line-interface"] include = ["src/**/*", "README.md"] diff --git a/examples/example.rs b/examples/example.rs index df1ba17..f63cbaf 100644 --- a/examples/example.rs +++ b/examples/example.rs @@ -61,7 +61,7 @@ fn main() -> Result<(), Box> { terminal.show_cursor()?; if let Err(err) = res { - println!("{:?}", err); + println!("{err:?}"); } Ok(())