aboutsummaryrefslogtreecommitdiff
path: root/examples/example-implicit-dispatcher
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-01 22:42:41 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-01 22:42:41 +0800
commit0f9ca0745e3e80c751404f45cb2b97d4d14c97d3 (patch)
tree20d1c5c93b11397db27263820e3863bbb2ac11e5 /examples/example-implicit-dispatcher
parente2050f6b6694733931edc6363194197c323b7d25 (diff)
refactor!: rename `extra_macros` feature to `extras`HEADmainfeat/new-pipeline-model
Update all references across docs, examples, and configuration files to use the shorter `extras` feature name.
Diffstat (limited to 'examples/example-implicit-dispatcher')
-rw-r--r--examples/example-implicit-dispatcher/Cargo.toml2
-rw-r--r--examples/example-implicit-dispatcher/page.toml2
-rw-r--r--examples/example-implicit-dispatcher/src/main.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/example-implicit-dispatcher/Cargo.toml b/examples/example-implicit-dispatcher/Cargo.toml
index 3e68e38..2bfa000 100644
--- a/examples/example-implicit-dispatcher/Cargo.toml
+++ b/examples/example-implicit-dispatcher/Cargo.toml
@@ -5,6 +5,6 @@ edition = "2024"
[dependencies.mingling]
path = "../../mingling"
-features = ["extra_macros"]
+features = ["extras"]
[workspace]
diff --git a/examples/example-implicit-dispatcher/page.toml b/examples/example-implicit-dispatcher/page.toml
index 4bea717..12f8839 100644
--- a/examples/example-implicit-dispatcher/page.toml
+++ b/examples/example-implicit-dispatcher/page.toml
@@ -4,7 +4,7 @@ name = "Implicit Dispatcher"
icon = "🫥"
category = "dispatch"
desc = """
-Shows the abbreviated `dispatcher!("cmd.path")` syntax from `extra_macros` that auto-derives struct names from the command path.
+Shows the abbreviated `dispatcher!("cmd.path")` syntax from `extras` that auto-derives struct names from the command path.
"""
tags = ["implicit"]
files = ["src/main.rs", "Cargo.toml"]
diff --git a/examples/example-implicit-dispatcher/src/main.rs b/examples/example-implicit-dispatcher/src/main.rs
index 3dc7f83..340d585 100644
--- a/examples/example-implicit-dispatcher/src/main.rs
+++ b/examples/example-implicit-dispatcher/src/main.rs
@@ -1,6 +1,6 @@
//! Example Implicit Dispatcher
//!
-//! > This example demonstrates how to use the implicit `dispatcher!` definition syntax enabled by `extra_macros`
+//! > This example demonstrates how to use the implicit `dispatcher!` definition syntax enabled by `extras`
use mingling::prelude::*;