diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-29 20:56:19 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-29 20:56:19 +0800 |
| commit | 0617ce6a527567f4545558fda632dd8d7e06606d (patch) | |
| tree | 06479dec6f55d9a46adf0f0ff096340aaefc46b2 /mingling/src/features.rs.tmpl | |
| parent | 7e9c77641a3dfb5df7c2218081ee625d0d069f4b (diff) | |
Add auto-generated feature flags module and tooling
Diffstat (limited to 'mingling/src/features.rs.tmpl')
| -rw-r--r-- | mingling/src/features.rs.tmpl | 15 |
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; +@@@ <<< |
