forked from console-rs/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
32 lines (28 loc) · 1.05 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "console"
description = "A terminal and console abstraction for Rust"
version = "0.11.3"
keywords = ["cli", "terminal", "colors", "console", "ansi"]
authors = ["Armin Ronacher <[email protected]>"]
license = "MIT"
edition = "2018"
homepage = "https://github.com/mitsuhiko/console"
repository = "https://github.com/mitsuhiko/console"
documentation = "https://docs.rs/console"
readme = "README.md"
[features]
default = ["unicode-width", "ansi-parsing", "windows-console-colors"]
windows-console-colors = ["ansi-parsing", "winapi-util"]
ansi-parsing = ["regex"]
[dependencies]
lazy_static = "1"
libc = "0.2"
terminal_size = "0.1.12"
regex = { version = "1.3.1", optional = true, default-features = false, features = ["std"] }
unicode-width = { version = "0.1", optional = true }
[target.'cfg(unix)'.dependencies]
termios = "0.3"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winbase", "winuser", "consoleapi", "processenv", "wincon"] }
winapi-util = { version = "0.1.3", optional = true }
encode_unicode = "0.3"