diff options
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | mingling/src/lib.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9875171..0a9b6b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -178,6 +178,8 @@ impl ErrorNotDir { This macro is only available with the `extra_macros` feature. +9. **\[mingling\]** Added `Groupped` trait to the `mingling::prelude` module, so it can now be imported via `use mingling::prelude::*` without needing to separately import the trait from the `mingling` crate root. + #### **BREAKING CHANGES** (API CHANGES): 1. **\[core\]** Changed the signature of `ProgramSetup::setup` from `fn setup(&mut self, program: &mut Program<C>) -> S` to `fn setup(self, program: &mut Program<C>)`, consuming `self` instead of taking a mutable reference. Correspondingly, `Program::with_setup` now accepts `S` by value (`&mut self, setup: S`) instead of by mutable reference (`&mut self, setup: &mut S`). diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index f1232d3..f5c02fa 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -184,6 +184,8 @@ pub mod res; /// use mingling::prelude::*; /// ``` pub mod prelude { + /// Re-export of the `Groupped` derive macro for grouping types. + pub use crate::Groupped; /// Re-export of the `chain` macro for defining a chain of commands. pub use crate::macros::chain; /// Re-export of the `dispatcher` macro for routing commands. |
