2021-03-27 13:02:42 +00:00
|
|
|
[package]
|
2021-07-15 11:06:59 +00:00
|
|
|
name = "requestty"
|
2021-07-17 12:45:08 +00:00
|
|
|
version = "0.1.0"
|
2021-04-10 04:49:09 +00:00
|
|
|
authors = ["Lutetium Vanadium"]
|
2021-03-27 13:02:42 +00:00
|
|
|
edition = "2018"
|
2021-07-17 12:45:08 +00:00
|
|
|
description = "An easy-to-use collection of interactive cli prompts"
|
|
|
|
homepage="https://github.com/Lutetium-Vanadium/requestty#readme"
|
|
|
|
repository = "https://github.com/Lutetium-Vanadium/requestty"
|
|
|
|
documentation="https://docs.rs/requestty"
|
|
|
|
readme = "README.md"
|
|
|
|
license = "MIT"
|
|
|
|
keywords = ["interactive", "prompt", "cli", "inquirer", "enquirer"]
|
|
|
|
categories = ["command-line-interface", "command-line-utilities"]
|
|
|
|
exclude = ["/.github/*", "/assets", "/requestty-ui", "/requestty-macro", "*-snapshots"]
|
2021-03-27 13:02:42 +00:00
|
|
|
|
2021-04-10 04:49:09 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
".",
|
2021-07-15 11:06:59 +00:00
|
|
|
"requestty-ui",
|
2021-07-16 15:04:23 +00:00
|
|
|
"requestty-macro",
|
2021-04-10 04:49:09 +00:00
|
|
|
]
|
2021-03-27 13:02:42 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-04-10 11:57:09 +00:00
|
|
|
tempfile = "3"
|
2021-07-17 12:45:08 +00:00
|
|
|
ui = { package = "requestty-ui", path = "./requestty-ui", version = "=0.1.0" }
|
|
|
|
macro = { package = "requestty-macro", path = "./requestty-macro", optional = true, version = "=0.1.0" }
|
2021-04-20 14:03:07 +00:00
|
|
|
|
2021-06-27 11:56:04 +00:00
|
|
|
smallvec = { version = "1.6", optional = true }
|
|
|
|
|
2021-05-11 12:48:59 +00:00
|
|
|
[dev-dependencies]
|
2021-05-29 09:22:37 +00:00
|
|
|
trybuild = { version = "1.0.42", features = ["diff"] }
|
2021-06-27 11:27:38 +00:00
|
|
|
# remove color printing since it messes with the snapshot's colours
|
2021-06-20 15:15:33 +00:00
|
|
|
insta = { version = "1.7.1", default-features = false }
|
|
|
|
rand = "0.8"
|
|
|
|
rand_chacha = "0.3"
|
|
|
|
|
2021-07-13 14:34:21 +00:00
|
|
|
regex = "1.5" # examples/{prompt_module,macro}.rs
|
2021-07-16 05:18:48 +00:00
|
|
|
fuzzy-matcher = "0.3" # examples/file_auto_complete.rs
|
2021-05-11 12:48:59 +00:00
|
|
|
|
2021-04-20 14:03:07 +00:00
|
|
|
[features]
|
2021-06-27 11:56:04 +00:00
|
|
|
default = ["crossterm", "smallvec"]
|
2021-04-29 08:09:49 +00:00
|
|
|
crossterm = ["ui/crossterm"]
|
2021-04-29 14:50:54 +00:00
|
|
|
termion = ["ui/termion"]
|
2021-07-16 15:04:23 +00:00
|
|
|
# Hack to get around trybuild not considering 'optional = true' as features
|
|
|
|
macros = ["macro"]
|
2021-07-14 13:01:08 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustc-args = ["--cfg", "docsrs"]
|
2021-07-16 14:25:41 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "macros"
|
|
|
|
required-features = ["macros"]
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "macros"
|
|
|
|
required-features = ["macros"]
|