diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-23 00:41:27 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-23 00:41:27 +0800 |
| commit | fc5cd8341e1dbe0c5c65a10813a9392cb1cd35b4 (patch) | |
| tree | 61a901c96a543a50ea62ba5fc9ac2d1f512bbabe /mingling/src/features.rs | |
| parent | 39721a88611f47a8e02a4daeafaa34d1a2c44b34 (diff) | |
fix(docs): rename `builds` feature to `build` in examples
Diffstat (limited to 'mingling/src/features.rs')
| -rw-r--r-- | mingling/src/features.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mingling/src/features.rs b/mingling/src/features.rs index 78d6226..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"))] |
