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_core/src/program/collection.rs | 2 +- mingling_core/tests/test-all/Cargo.toml | 2 +- mingling_core/tests/test-repl/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mingling_core') diff --git a/mingling_core/src/program/collection.rs b/mingling_core/src/program/collection.rs index 14705ac..fa062cf 100644 --- a/mingling_core/src/program/collection.rs +++ b/mingling_core/src/program/collection.rs @@ -29,7 +29,7 @@ pub trait ProgramCollect { /// Result type for an empty chain result /// - /// When the `extra_macros` feature is enabled, + /// When the `extras` feature is enabled, /// you can use the `empty_result!()` macro to create this type ResultEmpty: Grouped; diff --git a/mingling_core/tests/test-all/Cargo.toml b/mingling_core/tests/test-all/Cargo.toml index a63b6e6..272f1d2 100644 --- a/mingling_core/tests/test-all/Cargo.toml +++ b/mingling_core/tests/test-all/Cargo.toml @@ -14,7 +14,7 @@ mingling = { path = "../../../mingling", features = [ "repl", "dispatch_tree", "parser", - "extra_macros", + "extras", ] } tokio = { version = "1", features = ["full"] } serde = { version = "1", features = ["derive"] } diff --git a/mingling_core/tests/test-repl/Cargo.toml b/mingling_core/tests/test-repl/Cargo.toml index c4c83ce..0924943 100644 --- a/mingling_core/tests/test-repl/Cargo.toml +++ b/mingling_core/tests/test-repl/Cargo.toml @@ -7,4 +7,4 @@ publish = false [workspace] [dependencies] -mingling = { path = "../../../mingling", features = ["repl", "extra_macros"] } +mingling = { path = "../../../mingling", features = ["repl", "extras"] } -- cgit