reedline/Cargo.toml
Stefan Holderbach 7b2ec8a073
Refactor Clipboard behind feature flag (#45)
The clipboard crate breaks the CI in a non GUI context. Make use of it
optional by feature flag `system_clipboard`.
Clipboard could be changed during runtime based on trait.

Additional fix: read back from system clipboard
2021-04-30 10:46:42 +12:00

26 lines
570 B
TOML

[package]
name = "reedline"
version = "0.1.0"
authors = ["Jonathan Turner <jonathan.d.turner@gmail.com>"]
edition = "2018"
description = "A readline-like crate for CLI text input"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
doctest = false
[[bin]]
name = "reedline"
path = "src/main.rs"
[dependencies]
crossterm = "0.19.0"
unicode-segmentation = "1.7.1"
chrono = "0.4.19"
unicode-width = "0.1.8"
clipboard = { version = "0.5.0", optional = true }
[features]
system_clipboard = ["clipboard"]