forked from console-rs/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (33 loc) · 1.09 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
33
34
35
36
37
38
[package]
name = "console"
description = "A terminal and console abstraction for Rust"
version = "0.15.0"
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 = ["ansi-parsing", "regex", "winapi-util"]
ansi-parsing = []
[dependencies]
once_cell = "1"
libc = "0.2"
terminal_size = "0.1.14"
regex = { version = "1.4.2", optional = true, default-features = false, features = ["std"] }
unicode-width = { version = "0.1", optional = true }
[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"
[dev-dependencies]
criterion = "0.3.5"
proptest = "1.0.0"
regex = "1.4.2"
[[bench]]
name = "ansi_parser"
harness = false