forked from kkawakam/rustyline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (63 loc) · 1.96 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
67
68
69
70
71
72
[package]
name = "rustyline"
version = "9.1.2"
authors = ["Katsu Kawakami <kkawa1570@gmail.com>"]
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"]
exclude = [
"/.github/*",
"/rustfmt.toml",
]
[badges]
maintenance = { status = "actively-developed" }
[workspace]
members = ["rustyline-derive"]
[dependencies]
bitflags = "1.3"
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 = "3.0.0"
libc = "0.2"
log = "0.4"
unicode-width = "0.1"
unicode-segmentation = "1.0"
memchr = "2.0"
# For custom bindings
radix_trie = { version = "0.2", optional = true }
regex = { version = "1.5.4", optional = true }
[target.'cfg(unix)'.dependencies]
nix = { version = "0.24", default-features = false, features = ["fs", "ioctl", "poll", "signal", "term"] }
utf8parse = "0.2"
skim = { version = "0.9", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["consoleapi", "handleapi", "synchapi", "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"
rand = "0.8"
assert_matches = "1.2"
rustyline-derive = { version = "0.6.0", path = "rustyline-derive" }
[features]
default = ["custom-bindings", "with-dirs"]
custom-bindings = ["radix_trie"]
with-dirs = ["dirs-next"]
with-fuzzy = ["skim"]
case_insensitive_history_search = ["regex"]
[package.metadata.docs.rs]
features = ["custom-bindings", "with-dirs", "with-fuzzy"]
all-features = false
no-default-features = true
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = ["--cfg", "docsrs"]