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. --- examples/example-combine-pathf-dispatch-tree/Cargo.toml | 2 +- examples/example-combine-pathf-dispatch-tree/page.toml | 2 +- examples/example-combine-pathf-dispatch-tree/src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/example-combine-pathf-dispatch-tree') diff --git a/examples/example-combine-pathf-dispatch-tree/Cargo.toml b/examples/example-combine-pathf-dispatch-tree/Cargo.toml index 862c5ac..2c866f7 100644 --- a/examples/example-combine-pathf-dispatch-tree/Cargo.toml +++ b/examples/example-combine-pathf-dispatch-tree/Cargo.toml @@ -6,7 +6,7 @@ edition = "2024" [dependencies] mingling = { path = "../../mingling", features = [ "dispatch_tree", - "extra_macros", + "extras", "pathf", ] } diff --git a/examples/example-combine-pathf-dispatch-tree/page.toml b/examples/example-combine-pathf-dispatch-tree/page.toml index e8f32f2..88557af 100644 --- a/examples/example-combine-pathf-dispatch-tree/page.toml +++ b/examples/example-combine-pathf-dispatch-tree/page.toml @@ -6,5 +6,5 @@ category = "advanced" desc = """ Demonstrates combining the `pathf` and `dispatch_tree` features. Types are defined in submodules and automatically resolved. Requires `dispatch_tree` in both `[dependencies]` and `[build-dependencies]`. """ -tags = ["pathf", "dispatch_tree", "extra_macros", "build.rs"] +tags = ["pathf", "dispatch_tree", "extras", "build.rs"] files = ["src/main.rs", "src/sub/mod.rs", "build.rs", "Cargo.toml"] diff --git a/examples/example-combine-pathf-dispatch-tree/src/main.rs b/examples/example-combine-pathf-dispatch-tree/src/main.rs index 98b3e4c..7407d32 100644 --- a/examples/example-combine-pathf-dispatch-tree/src/main.rs +++ b/examples/example-combine-pathf-dispatch-tree/src/main.rs @@ -8,7 +8,7 @@ //! > AND `[build-dependencies]` so that pathf's builder can detect //! > `__internal_dispatcher_*` types needed by the dispatch tree. //! > -//! > Also requires `extra_macros` for the implicit `dispatcher!("hello")` form. +//! > Also requires `extras` for the implicit `dispatcher!("hello")` form. //! //! Run: //! ```bash -- cgit