aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/features.rs.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/features.rs.tmpl')
-rw-r--r--mingling/src/features.rs.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/mingling/src/features.rs.tmpl b/mingling/src/features.rs.tmpl
new file mode 100644
index 0000000..3447041
--- /dev/null
+++ b/mingling/src/features.rs.tmpl
@@ -0,0 +1,15 @@
+>>>>>>>>>> features
+
+@@@ >>> features
+/// Whether the `<<<feat_name>>>` feature is enabled
+/// Current: `disabled`
+#[cfg(not(feature = "<<<feat_name>>>"))]
+#[allow(unused)]
+pub const MINGLING_<<<feat_const_name>>>: bool = false;
+
+/// Whether the `<<<feat_name>>>` feature is enabled
+/// Current: `enabled`
+#[cfg(feature = "<<<feat_name>>>")]
+#[allow(unused)]
+pub const MINGLING_<<<feat_const_name>>>: bool = true;
+@@@ <<<