From 7c496151f571b872da523f4c46369751be6f4ca1 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 12 Apr 2026 01:06:24 +0800 Subject: Add ShellContext helper methods for completion logic --- mingling/src/lib.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mingling/src/lib.rs') diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index 046f281..e2aa54a 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -59,6 +59,10 @@ //! `Mingling` provides detailed usage examples for your reference. //! See [Examples](_mingling_examples/index.html) +#[cfg(feature = "comp")] +mod comp; +mod example_docs; + // Re-export Core lib pub use mingling::*; pub use mingling_core as mingling; @@ -106,7 +110,10 @@ pub mod macros { /// derive macro Groupped pub use mingling_macros::Groupped; -mod example_docs; +#[cfg(feature = "comp")] +pub mod comp_tools { + pub use crate::comp::*; +} /// Example projects for `Mingling`, for learning how to use `Mingling` pub mod _mingling_examples { -- cgit