From 0f9ca0745e3e80c751404f45cb2b97d4d14c97d3 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 1 Aug 2026 22:42:41 +0800 Subject: refactor!: rename `extra_macros` feature to `extras` Update all references across docs, examples, and configuration files to use the shorter `extras` feature name. --- mingling/src/features.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'mingling/src/features.rs') diff --git a/mingling/src/features.rs b/mingling/src/features.rs index 0dde333..d1fcbd2 100644 --- a/mingling/src/features.rs +++ b/mingling/src/features.rs @@ -130,6 +130,17 @@ pub const MINGLING_EXTRA_MACROS: bool = false; #[cfg(feature = "extra_macros")] #[allow(unused)] pub const MINGLING_EXTRA_MACROS: bool = true; +/// Whether the `extras` feature is enabled +/// Current: `disabled` +#[cfg(not(feature = "extras"))] +#[allow(unused)] +pub const MINGLING_EXTRAS: bool = false; + +/// Whether the `extras` feature is enabled +/// Current: `enabled` +#[cfg(feature = "extras")] +#[allow(unused)] +pub const MINGLING_EXTRAS: bool = true; /// Whether the `json_serde_fmt` feature is enabled /// Current: `disabled` #[cfg(not(feature = "json_serde_fmt"))] -- cgit