-
Notifications
You must be signed in to change notification settings - Fork 107
/
Cargo.toml
40 lines (35 loc) · 1.2 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
39
40
[package]
name = "console"
description = "A terminal and console abstraction for Rust"
version = "0.15.1"
keywords = ["cli", "terminal", "colors", "console", "ansi"]
authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
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.30"
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]
proptest = "1.0.0"
regex = "1.4.2"
## These are currently disabled. If you want to play around with the benchmarks
## uncommit this.
#criterion = "0.3.5"
#[[bench]]
#name = "ansi_parser"
#harness = false