2018-01-04 00:43:54 +11:00
|
|
|
[package]
|
|
|
|
name = "crossterm"
|
2019-11-08 16:57:11 +11:00
|
|
|
version = "0.13.3"
|
2018-08-25 20:00:39 +10:00
|
|
|
authors = ["T. Post"]
|
2018-05-20 22:44:14 +10:00
|
|
|
description = "An crossplatform terminal library for manipulating terminals."
|
2019-09-25 03:45:59 +10:00
|
|
|
repository = "https://github.com/crossterm-rs/crossterm"
|
2018-07-16 07:08:10 +10:00
|
|
|
documentation = "https://docs.rs/crossterm/"
|
2018-01-19 09:10:44 +11:00
|
|
|
license = "MIT"
|
2018-08-25 07:44:34 +10:00
|
|
|
keywords = ["console", "color", "cursor", "input", "terminal"]
|
2018-01-19 09:10:44 +11:00
|
|
|
exclude = ["target", "Cargo.lock"]
|
2018-05-20 22:44:14 +10:00
|
|
|
readme = "README.md"
|
2019-09-16 21:34:08 +10:00
|
|
|
edition = "2018"
|
2019-11-05 04:43:30 +11:00
|
|
|
categories = ["command-line-interface", "command-line-utilities"]
|
2018-01-04 00:43:54 +11:00
|
|
|
|
2019-11-19 07:50:57 +11:00
|
|
|
[lib]
|
|
|
|
name = "crossterm"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2019-11-21 00:03:22 +11:00
|
|
|
#
|
|
|
|
# Build documentation with all features -> EventStream is available
|
|
|
|
#
|
2019-11-19 07:50:57 +11:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2019-11-21 00:03:22 +11:00
|
|
|
#
|
|
|
|
# Features
|
|
|
|
#
|
2019-01-28 07:16:14 +11:00
|
|
|
[features]
|
2019-11-21 00:03:22 +11:00
|
|
|
default = []
|
|
|
|
event-stream = ["futures"]
|
2019-01-28 07:16:14 +11:00
|
|
|
|
2019-11-21 00:03:22 +11:00
|
|
|
#
|
|
|
|
# Shared dependencies
|
|
|
|
#
|
2019-01-28 07:16:14 +11:00
|
|
|
[dependencies]
|
2019-11-21 00:03:22 +11:00
|
|
|
bitflags = "1.2"
|
|
|
|
futures = { version = "0.3", optional = true }
|
|
|
|
lazy_static = "1.4"
|
|
|
|
parking_lot = "0.9"
|
2019-10-23 01:33:38 +11:00
|
|
|
serde = { version = "1.0.0", features = ["derive"], optional = true }
|
2019-11-21 00:03:22 +11:00
|
|
|
|
|
|
|
#
|
|
|
|
# Windows dependencies
|
|
|
|
#
|
|
|
|
[target.'cfg(windows)'.dependencies.winapi]
|
|
|
|
version = "0.3.8"
|
|
|
|
features = ["winuser"]
|
2019-10-23 01:33:38 +11:00
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2019-11-19 18:14:52 +11:00
|
|
|
crossterm_winapi = "0.5.0"
|
2019-10-23 01:33:38 +11:00
|
|
|
|
2019-11-21 00:03:22 +11:00
|
|
|
#
|
|
|
|
# UNIX dependencies
|
|
|
|
#
|
2019-10-23 01:33:38 +11:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
libc = "0.2.51"
|
2019-11-21 00:03:22 +11:00
|
|
|
mio = "0.6.19"
|
|
|
|
signal-hook = { version = "0.1.11", features = ["mio-support"] }
|
2018-03-04 01:40:51 +11:00
|
|
|
|
2019-11-21 00:03:22 +11:00
|
|
|
#
|
|
|
|
# Dev dependencies (examples, ...)
|
|
|
|
#
|
2019-11-19 07:50:57 +11:00
|
|
|
[dev-dependencies]
|
2019-11-28 05:06:46 +11:00
|
|
|
tokio = { version = "0.2.1", features = ["macros"] }
|
2019-11-19 07:50:57 +11:00
|
|
|
futures = "0.3"
|
|
|
|
futures-timer = "2"
|
|
|
|
async-std = "1"
|