diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-24 16:46:45 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-24 16:46:45 +0800 |
| commit | 11adad7db1b6202d5366527902c3f0a9fb90654f (patch) | |
| tree | 76ecde96bf98686dfa2d5e9fb00f280794757363 /examples/example-unit-test/src/main.rs | |
| parent | 13699cfdccc901c2a7d53270f695384134ba2221 (diff) | |
Move entry, route, and program_setup macros to extra_macros feature
Remove these macros from the prelude and gate them behind the
`extra_macros` feature flag. Update examples and documentation
to enable the new feature where these macros are used.
Diffstat (limited to 'examples/example-unit-test/src/main.rs')
| -rw-r--r-- | examples/example-unit-test/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/example-unit-test/src/main.rs b/examples/example-unit-test/src/main.rs index d0e1b90..ca7ac25 100644 --- a/examples/example-unit-test/src/main.rs +++ b/examples/example-unit-test/src/main.rs @@ -11,6 +11,7 @@ use mingling::prelude::*; #[cfg(test)] mod tests { use super::*; + use mingling::macros::entry; use mingling::{assert_member_id, assert_render_result}; // --------- IMPORTANT --------- |
