Skip to content

Commit

Permalink
Upgrade MSRV to 1.63.0 (#179)
Browse files Browse the repository at this point in the history
* Pin tempfile dependency to minor version

* Upgrade MSRV to 1.63.0
  • Loading branch information
mikaelmello authored Sep 16, 2023
1 parent 6b85740 commit 7dd2178
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- main

env:
MSRV: 1.60.0
MSRV: 1.63.0

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- Upgraded underlying `termion` crate from v1.5 to v2.0.
- Upgraded underlying `bitflags` from v1 to v2, which affects the `Attributes` and `KeyModifiers` crates. If you use any of bitflag's methods directly, you might be affected, refer to the [bitflags changelog](https://github.com/bitflags/bitflags/releases/tag/2.0.0) for more information.
- Removed `thiserror` dependency in favor of implementing `InquireError` by hand. [#146](https://github.com/mikaelmello/inquire/issues/146)
- Raised MSRV to 1.60 due to `log` dependency raising their MSRV to 1.60.
- Raised MSRV to 1.63 due to requirements in downstream dependencies.
- MSRV is now explicitly set in the package definition.
- Replaced `lazy_static` with `once_cell` as `once_cell::sync::Lazy` is being standardized and `lazy_static` is not actively maintained anymore.

Expand Down
6 changes: 4 additions & 2 deletions inquire/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ authors = ["Mikael Mello <git@mikaelmello.com>"]
keywords = ["cli", "ask", "prompt", "question", "interactive"]
categories = ["command-line-interface", "value-formatting"]
include = ["/examples", "/src", "/../LICENSE"]
rust-version = "1.60.0"
rust-version = "1.63.0"

[lib]
name = "inquire"
Expand All @@ -33,7 +33,9 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
crossterm = { version = "0.25", optional = true }
termion = { version = "2.0", optional = true }
console = { version = "0.15", optional = true, features = ["windows-console-colors"] }
console = { version = "0.15", optional = true, features = [
"windows-console-colors",
] }

chrono = { version = "0.4", optional = true }

Expand Down

0 comments on commit 7dd2178

Please sign in to comment.