diff options
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | mingling/Cargo.toml | 5 | ||||
| -rw-r--r-- | mingling/src/features.rs | 11 |
3 files changed, 2 insertions, 16 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7566451..06c6b13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -456,6 +456,8 @@ None _Behavioral note:_ the runtime behavior of programs is unchanged — completion scripts and pathf type mappings are still produced, just from compile-time macro expansion instead of a separate `build.rs` step. The output directory changed from an `OUT_DIR`-derived path (effectively `{target}/<profile>` style) to a dedicated `{target_directory}/mingling/` directory resolved via `cargo metadata`, which is deterministic regardless of build profile. +8. **[`Cargo.toml`]** Removed the legacy `extra_macros` feature alias from `mingling/Cargo.toml`. The `extras` feature (introduced in 0.4.0, BREAKING CHANGE #1) is now the sole name for this feature; the deprecated alias is gone. + --- ## Contents diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml index f1439af..7c7993b 100644 --- a/mingling/Cargo.toml +++ b/mingling/Cargo.toml @@ -94,11 +94,6 @@ ron_serde_fmt = ["mingling_core/ron_serde_fmt"] extras = ["mingling_macros/extras"] -# - LEGACY - -# These are old names, will be Breaking Change in the future - -extra_macros = ["mingling_macros/extras"] - [dependencies] mingling_core = { workspace = true, optional = true } mingling_macros = { workspace = true, optional = true } diff --git a/mingling/src/features.rs b/mingling/src/features.rs index 777c3fb..8a3ce75 100644 --- a/mingling/src/features.rs +++ b/mingling/src/features.rs @@ -108,17 +108,6 @@ pub const MINGLING_DOCS_RS: bool = false; #[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"))] -#[allow(unused)] -pub const MINGLING_EXTRA_MACROS: bool = false; - -/// Whether the `extra_macros` feature is enabled -/// Current: `enabled` -#[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"))] |
