aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/lib.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-05-29 20:56:19 +0800
committer魏曹先生 <1992414357@qq.com>2026-05-29 20:56:19 +0800
commit0617ce6a527567f4545558fda632dd8d7e06606d (patch)
tree06479dec6f55d9a46adf0f0ff096340aaefc46b2 /mingling/src/lib.rs
parent7e9c77641a3dfb5df7c2218081ee625d0d069f4b (diff)
Add auto-generated feature flags module and tooling
Diffstat (limited to 'mingling/src/lib.rs')
-rw-r--r--mingling/src/lib.rs39
1 files changed, 1 insertions, 38 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs
index 83fd64e..ee01fb7 100644
--- a/mingling/src/lib.rs
+++ b/mingling/src/lib.rs
@@ -155,44 +155,7 @@ mod features;
/// They can be used for conditional compilation or runtime branching based on
/// feature availability.
pub mod feature {
- /// Whether the `async` feature is enabled
- pub use crate::features::MINGLING_ASYNC;
-
- /// Whether the `clap` feature is enabled
- pub use crate::features::MINGLING_CLAP;
-
- /// Whether the `comp` feature is enabled
- pub use crate::features::MINGLING_COMP;
-
- /// Whether the `debug` feature is enabled
- pub use crate::features::MINGLING_DEBUG;
-
- /// Whether the `dispatch_tree` feature is enabled
- pub use crate::features::MINGLING_DISPATCH_TREE;
-
- /// Whether the `general_renderer` feature is enabled
- pub use crate::features::MINGLING_GENERAL_RENDERER;
-
- /// Whether the `nightly` feature is enabled
- pub use crate::features::MINGLING_NIGHTLY;
-
- /// Whether the `parser` feature is enabled
- pub use crate::features::MINGLING_PARSER;
-
- /// Whether the `repl` feature is enabled
- pub use crate::features::MINGLING_REPL;
-
- /// Whether the `json_serde_fmt` feature is enabled
- pub use crate::features::MINGLING_JSON_SERDE_FMT;
-
- /// Whether the `ron_serde_fmt` feature is enabled
- pub use crate::features::MINGLING_RON_SERDE_FMT;
-
- /// Whether the `toml_serde_fmt` feature is enabled
- pub use crate::features::MINGLING_TOML_SERDE_FMT;
-
- /// Whether the `yaml_serde_fmt` feature is enabled
- pub use crate::features::MINGLING_YAML_SERDE_FMT;
+ include!("./features.rs");
}
mod setups;