-
Notifications
You must be signed in to change notification settings - Fork 112
/
Cargo.toml
51 lines (45 loc) · 1.29 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
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "console"
description = "A terminal and console abstraction for Rust"
version = "0.15.8"
keywords = ["cli", "terminal", "colors", "console", "ansi"]
authors = ["Armin Ronacher <[email protected]>"]
license = "MIT"
edition = "2018"
homepage = "https://github.com/console-rs/console"
repository = "https://github.com/console-rs/console"
documentation = "https://docs.rs/console"
readme = "README.md"
rust-version = "1.56.0"
[features]
default = ["unicode-width", "ansi-parsing"]
windows-console-colors = ["ansi-parsing"]
ansi-parsing = []
[dependencies]
libc = "0.2.99"
unicode-width = { version = "0.1", optional = true }
lazy_static = "1.4.0"
[target.'cfg(windows)'.dependencies]
encode_unicode = "0.3"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52.0"
features = [
"Win32_Foundation",
"Win32_System_Console",
"Win32_Storage_FileSystem",
"Win32_UI_Input_KeyboardAndMouse",
]
[dev-dependencies]
# Pick a setup for proptest that works with wasi
proptest = { version = "1.0.0", default-features = false, features = [
"std",
"bit-set",
"break-dead-code",
] }
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