minicrossterm/Cargo.toml

68 lines
1.4 KiB
TOML
Raw Normal View History

2018-01-04 00:43:54 +11:00
[package]
name = "crossterm"
2020-02-09 00:23:50 +11:00
version = "0.16.0"
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"
documentation = "https://docs.rs/crossterm/"
2018-01-19 09:10:44 +11:00
license = "MIT"
2019-12-13 17:12:35 +11:00
keywords = ["event", "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"
#
# Build documentation with all features -> EventStream is available
#
2019-11-19 07:50:57 +11:00
[package.metadata.docs.rs]
all-features = true
#
# Features
#
[features]
default = []
event-stream = ["futures"]
#
# Shared dependencies
#
[dependencies]
bitflags = "1.2"
lazy_static = "1.4"
2019-12-18 05:42:17 +11:00
parking_lot = "0.10"
2020-01-12 04:09:11 +11:00
futures = { version = "0.3", optional = true }
serde = { version = "1.0.0", features = ["derive"], optional = true }
#
# Windows dependencies
#
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.8"
features = ["winuser"]
[target.'cfg(windows)'.dependencies]
2020-01-29 17:29:35 +11:00
crossterm_winapi = "0.6.1"
#
# UNIX dependencies
#
[target.'cfg(unix)'.dependencies]
libc = "0.2"
mio = "0.6.21"
2020-01-29 17:38:22 +11:00
signal-hook = { version = "0.1.13", features = ["mio-support"] }
2018-03-04 01:40:51 +11:00
#
# Dev dependencies (examples, ...)
#
2019-11-19 07:50:57 +11:00
[dev-dependencies]
2020-01-29 17:38:22 +11:00
tokio = { version = "0.2.11", features = ["full"] }
2019-11-19 07:50:57 +11:00
futures = "0.3"
2020-01-29 17:38:22 +11:00
futures-timer = "3.0"
async-std = "1.4"