forked from nushell/reedline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (60 loc) · 1.8 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
[package]
authors = ["The Nushell Project Developers"]
description = "A readline-like crate for CLI text input"
edition = "2021"
license = "MIT"
name = "reedline"
repository = "https://github.com/nushell/reedline"
rust-version = "1.63.0"
version = "0.36.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
doctest = true
[dependencies]
arboard = { version = "3.3.0", optional = true, default-features = false, features = [
"wayland-data-control",
] }
chrono = { version = "0.4.19", default-features = false, features = [
"clock",
"serde",
] }
crossbeam = { version = "0.8.2", optional = true }
crossterm = { version = "0.28.1", features = ["serde"] }
fd-lock = "4.0.2"
itertools = "0.12.0"
nu-ansi-term = "0.50.0"
rusqlite = { version = "0.31.0", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0.79", optional = true }
strip-ansi-escapes = "0.2.0"
strum = "0.26"
strum_macros = "0.26"
thiserror = "1.0.31"
unicode-segmentation = "1.9.0"
unicode-width = "0.1.9"
rand = { version = "0.8.5", default-features = false, features = [
"small_rng",
"getrandom",
] }
indexmap = "2.2.1"
[dev-dependencies]
gethostname = "0.4.0"
pretty_assertions = "1.4.0"
rstest = { version = "0.18.0", default-features = false }
tempfile = "3.3.0"
[features]
bashisms = []
external_printer = ["crossbeam"]
sqlite = ["rusqlite/bundled", "serde_json"]
sqlite-dynlib = ["rusqlite", "serde_json"]
system_clipboard = ["arboard"]
[[example]]
name = "cwd_aware_hinter"
required-features = ["sqlite"]
[[example]]
name = "external_printer"
required-features = ["external_printer"]
[package.metadata.docs.rs]
# Whether to pass `--all-features` to Cargo (default: false)
all-features = false
features = ["bashisms", "external_printer", "sqlite"]