Skip to content

Commit

Permalink
chore: release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelmello committed Sep 14, 2021
1 parent ff3a71a commit 8c7370b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<!-- next-header -->
## [Unreleased] - ReleaseDate

## [0.2.0] - 2021-09-14

### Features

- Add `inquire::set_global_render_config` method to set a global RenderConfig object to be used as the default one for all prompts created after the call.
Expand Down Expand Up @@ -119,7 +121,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.1.0...HEAD
[Unreleased]: https://github.com/mikaelmello/inquire/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/mikaelmello/inquire/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/mikaelmello/inquire/compare/v0.0.11...v0.1.0
[0.0.11]: https://github.com/mikaelmello/inquire/compare/v0.0.10...v0.0.11
[0.0.10]: https://github.com/mikaelmello/inquire/compare/v0.0.9...v0.0.10
Expand Down
4 changes: 2 additions & 2 deletions CRATE_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,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.1.0"
inquire = "0.2.0"
```

\* This prompt type is gated under a feature flag, e.g.:

```
inquire = { version = "0.1.0", features = ["date", "editor"] }
inquire = { version = "0.2.0", features = ["date", "editor"] }
```

[`Text`]: https://docs.rs/inquire/*/inquire/prompts/text/struct.Text.html
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "inquire"
version = "0.1.1-alpha.0"
version = "0.2.0"
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
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ $ cargo run --example expense_tracker --features date
Put this line in your `Cargo.toml`, under `[dependencies]`.

```
inquire = "0.1.0"
inquire = "0.2.0"
```

\* This prompt type is gated under a feature flag, e.g.:

```
inquire = { version = "0.1.0", features = ["date"] }
inquire = { version = "0.2.0", features = ["date"] }
```

# Cross-cutting concerns
Expand Down Expand Up @@ -116,13 +116,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.1.0", default-features = false, features = ["termion", "date"] }
inquire = { version = "0.2.0", default-features = false, features = ["termion", "date"] }
```

or this:

```toml
inquire = { version = "0.1.0", default-features = false, features = ["console", "date"] }
inquire = { version = "0.2.0", default-features = false, features = ["console", "date"] }
```

## Formatting
Expand Down

0 comments on commit 8c7370b

Please sign in to comment.