From db443b08e80d92bf7ee112fbfd0244b9ec2c1353 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 5 Aug 2023 06:34:37 -0700 Subject: [PATCH] Specify and document MSRV for 0.26 (#798) As of 318f810a39a7d45af2068eb97a255cdfa18282e8, crossterm uses RFC 2795 implicit named arguments, which shipped in Rust 1.58. Co-authored-by: Timon --- CHANGELOG.md | 1 + Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4d91838..5a5888f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ ## Breaking ⚠️ - Remove `SetCursorShape` in favour of `SetCursorStyle`. (#742) - Make Windows resize event match `terminal::size` (#714) +- Rust 1.58 or later is now required. - Add key release event for windows. (#745) # Version 0.25.0 diff --git a/Cargo.toml b/Cargo.toml index aa23a87c..1e55be76 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ keywords = ["event", "color", "cli", "input", "terminal"] exclude = ["target", "Cargo.lock"] readme = "README.md" edition = "2021" +rust-version = "1.58.0" categories = ["command-line-interface", "command-line-utilities"] [lib]