Skip to content

Commit

Permalink
Specify and document MSRV for 0.26
Browse files Browse the repository at this point in the history
As of 318f810, crossterm uses RFC
2795 implicit named arguments, which shipped in Rust 1.58.
  • Loading branch information
Wilfred committed Jul 26, 2023
1 parent 1efdce7 commit 66065cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

- Remove `SetCursorShape` in favour of `SetCursorStyle`. (#742)
- Make Windows resize event match `terminal::size` (#714)
- Rust 1.58 or later is now required.

# Version 0.25.0
BREAKING: `Copy` trait is removed from `Event`, you can keep it by removing the "bracked-paste" feature flag. However this flag might be standardized in the future.
We removed the `Copy` from `Event` because the new `Paste` event, which contains a pasted string into the terminal, which is a non-copy string.
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 66065cc

Please sign in to comment.