Skip to content

Commit

Permalink
chore: release v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelmello committed Oct 31, 2022
1 parent 35a8904 commit 5393c84
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Expand Up @@ -3,6 +3,8 @@
<!-- next-header -->
## [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
Expand Down Expand Up @@ -222,7 +224,8 @@ The library is already featureful enough to warrant a higher version number, bum
- Add DateSelect prompt

<!-- next-url -->
[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
Expand Down
4 changes: 2 additions & 2 deletions CRATE_README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5393c84

Please sign in to comment.