aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/features.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/features.rs')
-rw-r--r--mingling/src/features.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/mingling/src/features.rs b/mingling/src/features.rs
index cb474ae..0dde333 100644
--- a/mingling/src/features.rs
+++ b/mingling/src/features.rs
@@ -20,6 +20,17 @@ pub const MINGLING_ASYNC: bool = false;
#[cfg(feature = "async")]
#[allow(unused)]
pub const MINGLING_ASYNC: bool = true;
+/// Whether the `build` feature is enabled
+/// Current: `disabled`
+#[cfg(not(feature = "build"))]
+#[allow(unused)]
+pub const MINGLING_BUILD: bool = false;
+
+/// Whether the `build` feature is enabled
+/// Current: `enabled`
+#[cfg(feature = "build")]
+#[allow(unused)]
+pub const MINGLING_BUILD: bool = true;
/// Whether the `builds` feature is enabled
/// Current: `disabled`
#[cfg(not(feature = "builds"))]
@@ -97,6 +108,17 @@ pub const MINGLING_DISPATCH_TREE: bool = false;
#[cfg(feature = "dispatch_tree")]
#[allow(unused)]
pub const MINGLING_DISPATCH_TREE: bool = true;
+/// Whether the `docs_rs` feature is enabled
+/// Current: `disabled`
+#[cfg(not(feature = "docs_rs"))]
+#[allow(unused)]
+pub const MINGLING_DOCS_RS: bool = false;
+
+/// Whether the `docs_rs` feature is enabled
+/// Current: `enabled`
+#[cfg(feature = "docs_rs")]
+#[allow(unused)]
+pub const MINGLING_DOCS_RS: bool = true;
/// Whether the `extra_macros` feature is enabled
/// Current: `disabled`
#[cfg(not(feature = "extra_macros"))]