minicrossterm/Cargo.toml
Robert Vojta 7333de70a7
Remove all feature flags except event-stream (#322)
Signed-off-by: Robert Vojta <rvojta@me.com>
2019-11-20 14:03:22 +01:00

68 lines
1.4 KiB
TOML

[package]
name = "crossterm"
version = "0.13.3"
authors = ["T. Post"]
description = "An crossplatform terminal library for manipulating terminals."
repository = "https://github.com/crossterm-rs/crossterm"
documentation = "https://docs.rs/crossterm/"
license = "MIT"
keywords = ["console", "color", "cursor", "input", "terminal"]
exclude = ["target", "Cargo.lock"]
readme = "README.md"
edition = "2018"
categories = ["command-line-interface", "command-line-utilities"]
[lib]
name = "crossterm"
path = "src/lib.rs"
#
# Build documentation with all features -> EventStream is available
#
[package.metadata.docs.rs]
all-features = true
#
# Features
#
[features]
default = []
event-stream = ["futures"]
#
# Shared dependencies
#
[dependencies]
bitflags = "1.2"
futures = { version = "0.3", optional = true }
lazy_static = "1.4"
parking_lot = "0.9"
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]
crossterm_winapi = "0.5.0"
#
# UNIX dependencies
#
[target.'cfg(unix)'.dependencies]
libc = "0.2.51"
mio = "0.6.19"
signal-hook = { version = "0.1.11", features = ["mio-support"] }
#
# Dev dependencies (examples, ...)
#
[dev-dependencies]
tokio = "0.2.0-alpha.6"
futures = "0.3"
futures-timer = "2"
async-std = "1"