diff --git a/CHANGELOG.md b/CHANGELOG.md index ad2fdb89..94c09ea3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## [Unreleased] - ReleaseDate +## [0.5.1] - 2022-10-31 + - Removed use of `bool::then_some` feature to keep minimum supported Rust version on 1.56.0. ## [0.5.0] - 2022-10-31 @@ -222,7 +224,8 @@ The library is already featureful enough to warrant a higher version number, bum - Add DateSelect prompt -[Unreleased]: https://github.com/mikaelmello/inquire/compare/v0.5.0...HEAD +[Unreleased]: https://github.com/mikaelmello/inquire/compare/v0.5.1...HEAD +[0.5.1]: https://github.com/mikaelmello/inquire/compare/v0.5.0...v0.5.1 [0.5.0]: https://github.com/mikaelmello/inquire/compare/v0.4.0...v0.5.0 [unreleased]: https://github.com/mikaelmello/inquire/compare/v0.3.0...v0.4.0 diff --git a/CRATE_README.md b/CRATE_README.md index f8b1f30d..8abac755 100644 --- a/CRATE_README.md +++ b/CRATE_README.md @@ -52,13 +52,13 @@ It provides several different prompts in order to interactively ask the user for Put this line in your `Cargo.toml`, under `[dependencies]`. ``` -inquire = "0.5.0" +inquire = "0.5.1" ``` \* This prompt type is gated under a feature flag, e.g.: ``` -inquire = { version = "0.5.0", features = ["date", "editor"] } +inquire = { version = "0.5.1", features = ["date", "editor"] } ``` [`text`]: https://docs.rs/inquire/*/inquire/prompts/text/struct.Text.html diff --git a/Cargo.toml b/Cargo.toml index b110d3fd..d3332897 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "inquire" -version = "0.5.0" +version = "0.5.1" description = "inquire is a library for building interactive prompts on terminals" repository = "https://github.com/mikaelmello/inquire" license = "MIT" diff --git a/README.md b/README.md index 537cd6c4..350113ae 100644 --- a/README.md +++ b/README.md @@ -65,13 +65,13 @@ $ cargo run --example expense_tracker --features date Put this line in your `Cargo.toml`, under `[dependencies]`. ``` -inquire = "0.5.0" +inquire = "0.5.1" ``` \* This prompt type is gated under a feature flag, e.g.: ``` -inquire = { version = "0.5.0", features = ["date"] } +inquire = { version = "0.5.1", features = ["date"] } ``` # Cross-cutting concerns @@ -122,13 +122,13 @@ Binary Rust applications that intend to manipulate terminals will probably pick However, if your application already uses a dependency other than crossterm, such as console or termion, you can enable another terminal via feature flags. It is also important to disable inquire's default features as it comes with `crossterm` enabled by default. Such as this: ```toml -inquire = { version = "0.5.0", default-features = false, features = ["termion", "date"] } +inquire = { version = "0.5.1", default-features = false, features = ["termion", "date"] } ``` or this: ```toml -inquire = { version = "0.5.0", default-features = false, features = ["console", "date"] } +inquire = { version = "0.5.1", default-features = false, features = ["console", "date"] } ``` ## Formatting