Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
Deprecated release (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Vojta <[email protected]>
  • Loading branch information
zrzka authored Oct 21, 2019
1 parent 4ee1086 commit 960d351
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 22 deletions.
22 changes: 12 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Version master

- Added unit tests
- Restructured files
- Removed unsafe static code
- Improved documentation and added book page to lib.rs
- Fixed bug with `SetBg` command, WinApi logic
- Fixed bug with `StyledObject`, used stdout for resetting terminal color
- Introduced `ResetColor` command
- Remove all references to the crossterm book
# Version 0.5.2

- Refactoring ([PR #2](https://github.com/crossterm-rs/crossterm-style/pull/2))
- Added unit tests
- Restructured files
- Improved documentation and added book page to lib.rs
- Fixed bug with `SetBg` command, WinApi logic
- Fixed bug with `StyledObject`, used stdout for resetting terminal color
- Introduced `ResetColor` command
- Sync documentation style ([PR #3](https://github.com/crossterm-rs/crossterm-style/pull/3))
- Remove all references to the crossterm book ([PR #4](https://github.com/crossterm-rs/crossterm-style/pull/4))
- Windows 7 grey/white foreground/intensity swapped ([PR #5](https://github.com/crossterm-rs/crossterm-style/pull/5))

# Version 0.5.1

Expand Down
9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "crossterm_style"
version = "0.5.1"
version = "0.5.2"
authors = ["T. Post"]
description = "A cross-platform library styling the terminal output."
repository = "https://github.com/crossterm-rs/crossterm-style"
Expand All @@ -11,11 +11,14 @@ exclude = ["target", "Cargo.lock"]
readme = "README.md"
edition = "2018"

[badges]
maintenance = { status = "deprecated" }

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.8", features = ["wincon"] }
crossterm_winapi = { version = "0.2.1" }
crossterm_winapi = { version = "0.3.0" }
lazy_static = "1.4"

[dependencies]
crossterm_utils = { version = "0.3.1" }
crossterm_utils = { version = "0.4.0" }
serde = { version = "1.0.0", features = ["derive"], optional = true }
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# Crossterm Style

**The `crossterm_style` crate is deprecated and no longer maintained. The GitHub repository will
be archived soon. All the code is being moved to the `crossterm`
[crate](https://github.com/crossterm-rs/crossterm). You can learn more in the
[Merge sub-crates to the crossterm crate](https://github.com/crossterm-rs/crossterm/issues/265)
issue.**

This crate allows you to work with the terminal colors and text attributes. It supports all UNIX
and Windows terminals down to Windows 7 (not all terminals are tested, see the
[Tested Terminals](https://github.com/crossterm-rs/crossterm/blob/master/README.md#tested-terminals) for more info).
Expand All @@ -10,15 +16,6 @@ and Windows terminals down to Windows 7 (not all terminals are tested, see the
directly, but it's **highly recommended** to use the [crossterm](https://crates.io/crates/crossterm) crate with
the `style` feature enabled.

## Future

> The `crossterm_style` crate code will be moved to the `crossterm` crate (it's reexported there now).
> Date is not set yet, but it doesn't make a lot of sense to start a new project with it. Please, use
> the `crossterm` crate with the `style` feature enabled.
Issues in this repository are disabled for the same reason. Please, report all issues in the
[crossterm-rs/crossterm](https://github.com/crossterm-rs/crossterm/issues) repository.

## Features

- Cross-platform
Expand Down
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

//! # Style
//!
//! **The `crossterm_style` crate is deprecated and no longer maintained. The GitHub repository will
//! be archived soon. All the code is being moved to the `crossterm`
//! [crate](https://github.com/crossterm-rs/crossterm). You can learn more in
//! the [Merge sub-crates to the crossterm crate](https://github.com/crossterm-rs/crossterm/issues/265)
//! issue.**
//!
//! The `crossterm_style` crate provides a functionality to apply attributes and colors on your text.
//!
//! This documentation does not contain a lot of examples. The reason is that it's fairly
Expand Down

0 comments on commit 960d351

Please sign in to comment.