-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
58 lines (51 loc) · 1.25 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
52
53
54
55
56
57
58
[package]
name = "terminal"
version = "0.2.1"
authors = ["T. Post"]
description = "Unified API over different TUI libraries."
edition = "2018"
repository = "https://github.com/crossterm-rs/terminal"
documentation = "https://docs.rs/terminal/"
license = "MIT"
keywords = ["console", "cli", "tty", "terminal"]
exclude = ["target", "Cargo.lock"]
readme = "README.md"
categories = ["command-line-interface", "command-line-utilities"]
#
# Build documentation with all features, BackendImpl is availible.
#
[package.metadata.docs.rs]
features = ["crossterm-backend"]
#
# Features
#
[features]
default = ["crossterm-backend"]
termion-backend = ["termion", "signal-hook", "libc", "crossbeam-channel"]
crossterm-backend = ["crossterm"]
crosscurses-backend = ["crosscurses", "libc"]
#
# Shared dependencies
#
[dependencies]
bitflags = "1.2.1"
#
# Backend dependencies
#
[dependencies.termion]
optional = true
version = "1.5.3"
[dependencies.crossterm]
optional = true
version = "0.15"
[dependencies.crosscurses]
optional = true
version = "0.1.0"
features = ["wide"]
#
# UNIX dependencies
#
[target.'cfg(unix)'.dependencies]
signal-hook = { version = "0.1.13", optional = true }
libc = { version = "0.2.66", optional = true }
crossbeam-channel = { version = "0.4.0", optional = true }