minicrossterm/Cargo.toml

38 lines
1.2 KiB
TOML
Raw Normal View History

2018-01-04 00:43:54 +11:00
[package]
name = "crossterm"
2019-11-04 16:54:22 +11:00
version = "0.13.1"
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"
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-03 05:26:25 +11:00
categories = ["Command-line interface", "Command line utilities"]
2018-01-04 00:43:54 +11:00
[features]
2019-09-26 00:09:16 +10:00
default = ["cursor", "style", "terminal", "screen", "input"]
cursor = ["lazy_static", "input", "winapi/wincon", "winapi/winnt", "winapi/minwindef"]
style = ["lazy_static", "winapi/wincon"]
terminal = ["cursor"]
screen = ["lazy_static", "winapi/wincon", "winapi/minwindef"]
input = ["mio", "lazy_static", "screen", "winapi/winnt", "winapi/winuser"]
[dependencies]
lazy_static = { version = "1.4", optional = true }
serde = { version = "1.0.0", features = ["derive"], optional = true }
[target.'cfg(windows)'.dependencies]
winapi = "0.3.8"
crossterm_winapi = "0.3.0"
[target.'cfg(unix)'.dependencies]
libc = "0.2.51"
mio = { version = "0.6.19", optional = true }
2018-03-04 01:40:51 +11:00
[lib]
name = "crossterm"
path = "src/lib.rs"