aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/program.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move hook execution into the async and sync run methods魏曹先生2026-05-181-0/+6
|
* Add no-return-value mode for `#[chain]` macroWeicao-CatilGrass2026-05-171-0/+4
|
* Add option to silence panic messages in stdout settings魏曹先生2026-05-151-0/+20
|
* Add panic catch for program execution魏曹先生2026-05-151-6/+44
|
* Rename `set_instance_and_run` to `exec_wrapper` and remove doc comments魏曹先生2026-05-151-6/+4
|
* Migrate exit code control to resource-based systemWeicao-CatilGrass2026-05-131-7/+4
|
* Add exit code control and hook lifecycle features魏曹先生2026-05-091-4/+19
|
* Add lifecycle hooks to program execution魏曹先生2026-05-091-9/+33
|
* Replace explicit return with trailing expression魏曹先生2026-05-081-1/+1
| | | | Suppress clippy::ptr_arg lint in match_user_input
* Dispatch arguments using prefix tree with dispatch_tree feature魏曹先生2026-05-081-1/+14
|
* Add error type aliases to ProgramCollect trait魏曹先生2026-05-081-0/+2
|
* Log node strings in get_nodes for debug builds魏曹先生2026-05-071-1/+19
|
* Add compile-time dispatch tree generation for O(len) command routing魏曹先生2026-05-071-0/+1
|
* Add dispatch tree feature for fast argument matching魏曹先生2026-05-071-7/+31
|
* Add global resource system to Program魏曹先生2026-04-271-2/+9
|
* Add help system with `#[help]` macro and `HelpRequest` trait魏曹先生2026-04-251-0/+3
|
* Remove redundant generic parameter from Program struct魏曹先生2026-04-251-34/+22
|
* fix: Add explicit type annotation to collect call in ProgramWeicao-CatilGrass2026-04-241-1/+1
|
* Add new_with_args and dispatch_args_dynamic to Program魏曹先生2026-04-221-24/+41
| | | | | Remove Display bound from Group type parameter and delete dispatcher_render macro. This is a breaking change.
* Add missing import for std::env on non-Windows platforms魏曹先生2026-04-191-0/+3
|
* Make async an optional feature魏曹先生2026-04-191-7/+120
|
* Fix Windows UTF-16 argument handling in PowerShell completion魏曹先生2026-04-171-1/+13
|
* Add script support to run-tools utilities魏曹先生2026-04-141-1/+1
| | | | | | The run-tools.ps1 and run-tools.sh scripts now support running both Rust binaries and shell scripts. They check dev_tools/scripts first, then dev_tools/src/bin. Also added a simple HTTP preview script.
* Apply clippy suggestions and remove unused serde dependency魏曹先生2026-04-111-3/+3
|
* Add shell completion script generation feature魏曹先生2026-04-111-0/+24
|
* Add completion macro infrastructure without logic魏曹先生2026-04-101-0/+8
|
* Implement mingling::this function魏曹先生2026-04-081-5/+70
|
* Add general renderer support with serialization formats魏曹先生2026-04-051-0/+15
|
* Add documentation for mingling_core魏曹先生2026-04-011-0/+19
|
* Add default error handling methods to ProgramCollect trait魏曹先生2026-04-011-0/+2
| | | | | | | | The trait now includes `build_renderer_not_found` and `build_dispatcher_not_found` methods for constructing error outputs. The macro generates implementations that create appropriate error types, removing hardcoded enum variants.
* Replace typeid-based dispatch with enum-based dispatch魏曹先生2026-04-011-22/+35
| | | | | | | | | - Add `Groupped` trait and `member_id` to `AnyOutput` - Add generic parameter `G` to `Dispatcher`, `Chain`, `Program` etc - Remove `hint` module and its marker types - Update macros to support explicit group specification - Add `gen_program` macro for generating enum-based programs - Add `GroupProcess` marker type for type-level grouping
* Update mingling_core to version 0.1.2 and use local dependencies魏曹先生2026-03-311-2/+6
| | | | | | - Replace registry dependencies with local path dependencies - Bump mingling_core version from 0.1.1 to 0.1.2 - Add safety comments for unsafe downcast operations
* Add mingling crate with core re-export and documentation魏曹先生2026-03-291-6/+1
|
* Rename mingling to mingling_core and update dependencies魏曹先生2026-03-291-0/+132