30 lines
739 B
TOML
30 lines
739 B
TOML
[package]
|
|
name = "crossterm"
|
|
version = "0.2.0"
|
|
authors = ["T Post <timonpost@hotmail.nl>"]
|
|
description = "An crossplarform terminal library for manipulating terminals."
|
|
repository = "https://github.com/TimonPost/crossterm"
|
|
documentation = "https://atcentra.com/crossterm/"
|
|
license = "MIT"
|
|
keywords = ["console", "color", "cursor", "terminal", "cli"]
|
|
exclude = ["target", "Cargo.lock"]
|
|
|
|
[dependencies]
|
|
rand = "0.4.2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["winbase","winuser","consoleapi","processenv","wincon", "handleapi"] }
|
|
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
termios = "0.3.0"
|
|
|
|
|
|
[lib]
|
|
name = "crossterm"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "crosstermexamples"
|
|
path = "examples/bin.rs" |