6.0 release

This commit is contained in:
Timon Post 2019-01-27 21:54:50 +01:00
parent f7d631e3cd
commit 3d92f62be4
2 changed files with 5 additions and 8 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "crossterm" name = "crossterm"
version = "0.5.4" version = "0.6.0"
authors = ["T. Post"] authors = ["T. Post"]
description = "An crossplatform terminal library for manipulating terminals." description = "An crossplatform terminal library for manipulating terminals."
repository = "https://github.com/TimonPost/crossterm" repository = "https://github.com/TimonPost/crossterm"

View File

@ -24,7 +24,7 @@ Through the simplicity of Crossterm, you do not have to worry about the platform
This crate supports all UNIX and windows terminals down to windows 7 (not all terminals are tested see [Tested Terminals](#tested-terminals) for more info) This crate supports all UNIX and windows terminals down to windows 7 (not all terminals are tested see [Tested Terminals](#tested-terminals) for more info)
This crate is exists out of six modules who are behind feature flags so that you can define which features you'd like to have: This crate is exists out of five modules who are behind feature flags so that you can define which features you'd like to have:
- [Crossterm Style](https://crates.io/crates/crossterm_style) - [Crossterm Style](https://crates.io/crates/crossterm_style)
- [Crossterm Input](https://crates.io/crates/crossterm_input) - [Crossterm Input](https://crates.io/crates/crossterm_input)
- [Crossterm Screen](https://crates.io/crates/crossterm_screen) - [Crossterm Screen](https://crates.io/crates/crossterm_screen)
@ -59,8 +59,6 @@ Add the Crossterm package to your `Cargo.toml` file.
crossterm = "0.6" crossterm = "0.6"
``` ```
### Useful Links ### Useful Links
- [Book](http://atcentra.com/crossterm/) - [Book](http://atcentra.com/crossterm/)
@ -107,7 +105,7 @@ These are the features from this crate:
## Examples ## Examples
These are some basic examples demonstrating how to use this crate. See [examples](https://github.com/TimonPost/crossterm/blob/master/examples/) for more. These are some basic examples demonstrating how to use this crate. See [examples](https://github.com/TimonPost/crossterm/blob/master/examples/) for more.
### Crossterm Type | [see more](https://github.com/TimonPost/crossterm/blob/master/examples/some_types/mod.rs) ### Crossterm Type | [see more](https://github.com/TimonPost/crossterm/blob/master/examples/crossterm.rs)
This is a wrapper for all the modules crossterm provides like terminal, cursor, styling and input. This is a wrapper for all the modules crossterm provides like terminal, cursor, styling and input.
```rust ```rust
@ -162,7 +160,7 @@ style("RGB color (10,10,10) ").with(Color::Rgb {
style("ANSI color value (50) ").with(Color::AnsiValue(50)); style("ANSI color value (50) ").with(Color::AnsiValue(50));
``` ```
### Cursor | [see more](https://github.com/TimonPost/crossterm/blob/master/examples/cursor/mod.rs) ### Cursor | [see more](https://github.com/TimonPost/crossterm/blob/master/examples/cursor.rs)
This module provides the functionalities to work with the terminal cursor. This module provides the functionalities to work with the terminal cursor.
```rust ```rust
@ -203,8 +201,7 @@ cursor.blink(true)
``` ```
### Terminal | [see more](https://github.com/TimonPost/crossterm/blob/master/examples/terminal.rs)
### Terminal | [see more](https://github.com/TimonPost/crossterm/blob/master/examples/terminal/terminal.rs)
This module provides the functionalities to work with the terminal in general. This module provides the functionalities to work with the terminal in general.
```rust ```rust