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

Deprecated release #7

Merged
merged 7 commits into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Version master
# Version 0.4.0

- Add deprecation note
- Remove all references to the crossterm book
- `sys::unix::RAW_MODE_ENABLED` replaced with `sys::unix::is_raw_mode_enabled()` (breaking)
- New `lazy_static` dependency
- Add deprecation note ([PR #3](https://github.com/crossterm-rs/crossterm-utils/pull/3))
- Remove all references to the crossterm book ([PR #4](https://github.com/crossterm-rs/crossterm-utils/pull/4))
- Remove unsafe static mut ([PR #5](https://github.com/crossterm-rs/crossterm-utils/pull/5))
- `sys::unix::RAW_MODE_ENABLED` replaced with `sys::unix::is_raw_mode_enabled()` (breaking)
- New `lazy_static` dependency

# Version 0.3.1

Expand Down
7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "crossterm_utils"
version = "0.3.1"
version = "0.4.0"
authors = ["T. Post"]
description = "Common logic used by the crossterm crates."
repository = "https://github.com/crossterm-rs/crossterm-utils"
Expand All @@ -11,9 +11,12 @@ 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" }

[target.'cfg(unix)'.dependencies]
libc = "0.2.51"
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# Crossterm Utilities

**The `crossterm_utils` 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.**

An utilities crate used by the following [crossterm](https://crates.io/crates/crossterm) modules:

- [crossterm_style](https://crates.io/crates/crossterm_style)
Expand All @@ -16,14 +22,6 @@ code for the [`crossterm`](https://crates.io/crates/crossterm) crate and the abo
This crate will be deprecated soon and no longer maintained. It's highly recommended
to not use it.

## Future

> The `crossterm_utils` crate code will be moved to the `crossterm` crate.
> Date is not set yet, but it doesn't make a lot of sense to start a new project with it.

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.

## Authors

* **Timon Post** - *Project Owner & creator*
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 @@

//! # Utils
//!
//! **The `crossterm_utils` 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 is **not meant for standalone use** and is really just a library
//! with some common used code for the [`crossterm`](https://crates.io/crates/crossterm)
//! crate and the above named modules.
Expand Down