forked from kkawakam/rustyline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
66 lines (58 loc) · 1.78 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
59
60
61
62
63
64
65
66
[package]
name = "rustyline"
version = "9.0.0"
authors = ["Katsu Kawakami <[email protected]>"]
edition = "2018"
description = "Rustyline, a readline implementation based on Antirez's Linenoise"
documentation = "http://docs.rs/rustyline"
repository = "https://github.com/kkawakam/rustyline"
readme = "README.md"
keywords = ["readline"]
license = "MIT"
categories = ["command-line-interface"]
[badges]
maintenance = { status = "actively-developed" }
[workspace]
members = ["rustyline-derive"]
[dependencies]
bitflags = "1.2"
cfg-if = "1.0"
# For file completion
# https://rustsec.org/advisories/RUSTSEC-2020-0053.html
dirs-next = { version = "2.0", optional = true }
# For History
fd-lock = { git = "https://github.com/sunfishcode/fd-lock" }
libc = "0.2"
log = "0.4"
unicode-width = "0.1"
unicode-segmentation = "1.0"
memchr = "2.0"
# For custom bindings
# https://rustsec.org/advisories/RUSTSEC-2021-0003.html
smallvec = "1.6.1"
radix_trie = "0.2"
regex = { version = "1.5.4", optional = true }
[target.'cfg(unix)'.dependencies]
nix = "0.22"
utf8parse = "0.2"
skim = { version = "0.9", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["consoleapi", "handleapi", "minwindef", "processenv", "std", "winbase", "wincon", "winuser"] }
scopeguard = "1.1"
clipboard-win = "4.2.1"
[dev-dependencies]
doc-comment = "0.3"
env_logger = { version = "0.9", default-features = false }
tempfile = "3.1.0"
assert_matches = "1.2"
rustyline-derive = { version = "0.5.0", path = "rustyline-derive" }
[features]
default = ["with-dirs"]
with-dirs = ["dirs-next"]
with-fuzzy = ["skim"]
case_insensitive_history_search = ["regex"]
[package.metadata.docs.rs]
features = ["with-dirs", "with-fuzzy"]
all-features = false
no-default-features = true
default-target = "x86_64-unknown-linux-gnu"