From 046ac064b6f4790f9053ad1e6109843bb38f89dd Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 15 Aug 2026 19:51:27 +0800 Subject: feat: move OSC94 under its own module and add confirmer predicates Extract OSC94 state and guard types from `res` into a dedicated `osc94` module, and add `ConfirmerCount` and `ConfirmerPredicate` types with `YesConfirm` and `TrueConfirm` implementations. --- mingling/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mingling/src/lib.rs') diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index 59ef7a6..9d38a2a 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -23,6 +23,9 @@ pub mod CRATE_ROOT { #[cfg(feature = "core")] pub mod metadata; +/// Support for the `OSC 9;4` protocol +pub mod osc94; + #[cfg(feature = "core")] mod example_docs; @@ -143,6 +146,9 @@ pub use mingling_macros::Grouped; #[cfg(feature = "structural_renderer")] pub use mingling_macros::StructuralData; +/// Mingling's confirmation module, providing core support for Confirmer +pub mod confirm; + #[doc = include_str!("docs/docsrs_examples.md")] #[cfg(all(feature = "core", feature = "docs_rs"))] #[allow(nonstandard_style)] -- cgit