2021-02-28 12:44:28 +03:00
|
|
|
[package]
|
2023-05-26 16:26:42 +03:00
|
|
|
authors = ["JT <jonathan.d.turner@gmail.com>", "The Nushell Project Developers"]
|
2021-04-10 00:24:10 +03:00
|
|
|
description = "A readline-like crate for CLI text input"
|
2023-05-26 16:26:42 +03:00
|
|
|
edition = "2021"
|
2021-04-10 00:24:10 +03:00
|
|
|
license = "MIT"
|
2023-05-26 16:26:42 +03:00
|
|
|
name = "reedline"
|
2021-12-28 14:19:00 +03:00
|
|
|
repository = "https://github.com/nushell/reedline"
|
2023-05-26 16:26:42 +03:00
|
|
|
rust-version = "1.62.1"
|
2024-01-09 22:05:36 +03:00
|
|
|
version = "0.28.0"
|
2021-02-28 12:44:28 +03:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
2021-04-10 00:21:37 +03:00
|
|
|
[lib]
|
2021-05-04 13:12:08 +03:00
|
|
|
doctest = true
|
2021-04-10 00:21:37 +03:00
|
|
|
|
2021-02-28 12:44:28 +03:00
|
|
|
[dependencies]
|
2024-01-15 02:59:59 +03:00
|
|
|
arboard = { version = "3.3.0", optional = true, default-features = false, features = ["wayland-data-control"] }
|
2023-12-06 16:31:54 +03:00
|
|
|
chrono = { version = "0.4.19", default-features = false, features = [
|
|
|
|
"clock",
|
|
|
|
"serde",
|
|
|
|
] }
|
2023-06-06 12:26:53 +03:00
|
|
|
crossbeam = { version = "0.8.2", optional = true }
|
2023-08-28 22:08:10 +03:00
|
|
|
crossterm = { version = "0.27.0", features = ["serde"] }
|
2023-06-06 12:26:53 +03:00
|
|
|
fd-lock = "3.0.3"
|
2023-12-26 19:00:15 +03:00
|
|
|
itertools = "0.12.0"
|
2024-01-22 22:22:00 +03:00
|
|
|
nu-ansi-term = "0.50.0"
|
2023-06-06 12:26:53 +03:00
|
|
|
rusqlite = { version = "0.29.0", optional = true }
|
2021-06-15 23:02:29 +03:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-06-06 12:26:53 +03:00
|
|
|
serde_json = { version = "1.0.79", optional = true }
|
2023-08-09 20:14:19 +03:00
|
|
|
strip-ansi-escapes = "0.2.0"
|
2023-07-10 13:05:32 +03:00
|
|
|
strum = "0.25"
|
|
|
|
strum_macros = "0.25"
|
2023-06-06 12:26:53 +03:00
|
|
|
thiserror = "1.0.31"
|
|
|
|
unicode-segmentation = "1.9.0"
|
|
|
|
unicode-width = "0.1.9"
|
2021-04-30 01:46:42 +03:00
|
|
|
|
2021-05-04 13:12:08 +03:00
|
|
|
[dev-dependencies]
|
2023-06-06 12:26:53 +03:00
|
|
|
gethostname = "0.4.0"
|
2023-07-10 13:05:32 +03:00
|
|
|
pretty_assertions = "1.4.0"
|
|
|
|
rstest = { version = "0.18.0", default-features = false }
|
2023-06-06 12:26:53 +03:00
|
|
|
tempfile = "3.3.0"
|
2021-05-04 13:12:08 +03:00
|
|
|
|
2021-04-30 01:46:42 +03:00
|
|
|
[features]
|
2022-04-01 20:27:51 +03:00
|
|
|
bashisms = []
|
2022-09-14 22:58:45 +03:00
|
|
|
external_printer = ["crossbeam"]
|
2022-10-30 23:41:13 +03:00
|
|
|
sqlite = ["rusqlite/bundled", "serde_json"]
|
|
|
|
sqlite-dynlib = ["rusqlite", "serde_json"]
|
2024-01-15 02:59:59 +03:00
|
|
|
system_clipboard = ["arboard"]
|
2023-11-05 23:31:24 +03:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "cwd_aware_hinter"
|
|
|
|
required-features = ["sqlite"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "external_printer"
|
|
|
|
required-features = ["external_printer"]
|
2023-11-29 19:39:57 +03:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
# Whether to pass `--all-features` to Cargo (default: false)
|
2023-12-14 20:38:13 +03:00
|
|
|
all-features = false
|
|
|
|
features = ["bashisms", "external_printer", "sqlite"]
|