summaryrefslogtreecommitdiffstats
path: root/vendor/anstyle-wincon/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/anstyle-wincon/src/lib.rs')
-rw-r--r--vendor/anstyle-wincon/src/lib.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/anstyle-wincon/src/lib.rs b/vendor/anstyle-wincon/src/lib.rs
new file mode 100644
index 000000000..f61b6dc14
--- /dev/null
+++ b/vendor/anstyle-wincon/src/lib.rs
@@ -0,0 +1,21 @@
+//! Styling legacy Windows terminals
+//!
+//! See [`Console`]
+//!
+//! This fills a similar role as [`winapi-util`](https://crates.io/crates/winapi-util) does for
+//! [`termcolor`](https://crates.io/crates/termcolor) with the differences
+//! - Uses `windows-sys` rather than `winapi`
+//! - Uses [`anstyle`](https://crates.io/crates/termcolor) rather than defining its own types
+//! - More focused, smaller
+
+#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+
+mod console;
+mod lockable;
+mod stream;
+#[cfg(windows)]
+mod windows;
+
+pub use console::Console;
+pub use lockable::Lockable;
+pub use stream::WinconStream;