From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001
From: Valentin Popov <valentin@popov.link>
Date: Mon, 8 Jan 2024 01:21:28 +0400
Subject: Initial vendor packages

Signed-off-by: Valentin Popov <valentin@popov.link>
---
 vendor/dialoguer/src/lib.rs | 62 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 vendor/dialoguer/src/lib.rs

(limited to 'vendor/dialoguer/src/lib.rs')

diff --git a/vendor/dialoguer/src/lib.rs b/vendor/dialoguer/src/lib.rs
new file mode 100644
index 0000000..cd8e307
--- /dev/null
+++ b/vendor/dialoguer/src/lib.rs
@@ -0,0 +1,62 @@
+//! dialoguer is a library for Rust that helps you build useful small
+//! interactive user inputs for the command line.  It provides utilities
+//! to render various simple dialogs like confirmation prompts, text
+//! inputs and more.
+//!
+//! Best paired with other libraries in the family:
+//!
+//! * [indicatif](https://docs.rs/indicatif)
+//! * [console](https://docs.rs/console)
+//!
+//! # Crate Contents
+//!
+//! * Confirmation prompts
+//! * Input prompts (regular and password)
+//! * Input validation
+//! * Selections prompts (single and multi)
+//! * Fuzzy select prompt
+//! * Other kind of prompts
+//! * Editor launching
+//!
+//! # Crate Features
+//!
+//! The following crate features are available:
+//! * `editor`: enables bindings to launch editor to edit strings
+//! * `fuzzy-select`: enables fuzzy select prompt
+//! * `history`: enables input prompts to be able to track history of inputs
+//! * `password`: enables password input prompt
+//! * `completion`: enables ability to implement custom tab-completion for input prompts
+//!
+//! By default `editor` and `password` are enabled.
+
+#![deny(clippy::all)]
+
+#[cfg(feature = "completion")]
+pub use completion::Completion;
+pub use console;
+#[cfg(feature = "editor")]
+pub use edit::Editor;
+#[cfg(feature = "history")]
+pub use history::History;
+use paging::Paging;
+pub use prompts::{
+    confirm::Confirm, input::Input, multi_select::MultiSelect, select::Select, sort::Sort,
+};
+pub use validate::Validator;
+
+#[cfg(feature = "fuzzy-select")]
+pub use prompts::fuzzy_select::FuzzySelect;
+
+#[cfg(feature = "password")]
+pub use prompts::password::Password;
+
+#[cfg(feature = "completion")]
+mod completion;
+#[cfg(feature = "editor")]
+mod edit;
+#[cfg(feature = "history")]
+mod history;
+mod paging;
+mod prompts;
+pub mod theme;
+mod validate;
-- 
cgit v1.2.3