From e71faa988ea370bc7bd3381e2cd60461cec8dbe8 Mon Sep 17 00:00:00 2001 From: Florian Dehau Date: Sun, 24 Apr 2022 14:57:12 +0200 Subject: [PATCH] Release v0.18.0 --- CHANGELOG.md | 6 ++++++ Cargo.toml | 4 ++-- README.md | 24 ++++++++++++------------ src/lib.rs | 6 +++--- 4 files changed, 23 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0305635..d876173 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## To be released +## v0.18.0 - 2022-04-24 + +### Features + +* Update `crossterm` to `0.23` + ## v0.17.0 - 2022-01-22 ### Features diff --git a/Cargo.toml b/Cargo.toml index 99be52d..a516774 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "tui" -version = "0.17.0" +version = "0.18.0" authors = ["Florian Dehau "] description = """ A library to build rich terminal user interfaces or dashboards """ -documentation = "https://docs.rs/tui/0.17.0/tui/" +documentation = "https://docs.rs/tui/0.18.0/tui/" keywords = ["tui", "terminal", "dashboard"] repository = "https://github.com/fdehau/tui-rs" readme = "README.md" diff --git a/README.md b/README.md index fb2be0d..c9478f7 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,8 @@ cargo run --example demo --no-default-features --features=termion --release -- - where `tick-rate` is the UI refresh rate in ms. -The UI code is in [examples/demo/ui.rs](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/demo/ui.rs) while the -application state is in [examples/demo/app.rs](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/demo/app.rs). +The UI code is in [examples/demo/ui.rs](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/demo/ui.rs) while the +application state is in [examples/demo/app.rs](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/demo/app.rs). If the user interface contains glyphs that are not displayed correctly by your terminal, you may want to run the demo without those symbols: @@ -59,16 +59,16 @@ cargo run --example demo --release -- --tick-rate 200 --enhanced-graphics false The library comes with the following list of widgets: - * [Block](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/block.rs) - * [Gauge](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/gauge.rs) - * [Sparkline](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/sparkline.rs) - * [Chart](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/chart.rs) - * [BarChart](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/barchart.rs) - * [List](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/list.rs) - * [Table](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/table.rs) - * [Paragraph](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/paragraph.rs) - * [Canvas (with line, point cloud, map)](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/canvas.rs) - * [Tabs](https://github.com/fdehau/tui-rs/blob/v0.17.0/examples/tabs.rs) + * [Block](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/block.rs) + * [Gauge](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/gauge.rs) + * [Sparkline](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/sparkline.rs) + * [Chart](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/chart.rs) + * [BarChart](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/barchart.rs) + * [List](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/list.rs) + * [Table](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/table.rs) + * [Paragraph](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/paragraph.rs) + * [Canvas (with line, point cloud, map)](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/canvas.rs) + * [Tabs](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/tabs.rs) Click on each item to see the source of the example. Run the examples with with cargo (e.g. to run the gauge example `cargo run --example gauge`), and quit by pressing `q`. diff --git a/src/lib.rs b/src/lib.rs index b9d140a..8938884 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,8 +9,8 @@ //! //! ```toml //! [dependencies] -//! tui = "0.17" -//! crossterm = "0.22" +//! tui = "0.18" +//! crossterm = "0.23" //! ``` //! //! The crate is using the `crossterm` backend by default that works on most platforms. But if for @@ -20,7 +20,7 @@ //! ```toml //! [dependencies] //! termion = "1.5" -//! tui = { version = "0.17", default-features = false, features = ['termion'] } +//! tui = { version = "0.18", default-features = false, features = ['termion'] } //! //! ``` //!