diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-19 00:49:09 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-19 00:49:09 +0800 |
| commit | 9411f2570cbd494aebefa2b97b6b5a1a5e68bb27 (patch) | |
| tree | 7c419bd16cc1bc38eb0df04b21fbbfeb0b8c6548 /docs/README.md | |
| parent | f26cd7da74e9b65facb4dc2f16c21683334e0aee (diff) | |
Remove async runtime requirement from examples
Diffstat (limited to 'docs/README.md')
| -rw-r--r-- | docs/README.md | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/README.md b/docs/README.md index 016a4f7..8c698f0 100644 --- a/docs/README.md +++ b/docs/README.md @@ -53,13 +53,12 @@ The example below shows how to use `Mingling` to create a simple command-line pr ```rust use mingling::macros::{dispatcher, gen_program, r_println, renderer}; -#[tokio::main] -async fn main() { +fn main() { let mut program = ThisProgram::new(); program.with_dispatcher(HelloCommand); // Execute - program.exec().await; + program.exec(); } // Define command: "<bin> hello" @@ -139,11 +138,11 @@ You can read the following docs to learn more about the `Mingling` framework: - [x] core: \[[0.1.4](https://docs.rs/mingling/0.1.4/mingling/)\] General Renderers *( Json, Yaml, Toml, Ron )* - [x] core: \[[0.1.5](https://docs.rs/mingling/0.1.5/mingling/)\] Completion *( Bash Zsh Fish Pwsh )* -- [ ] \[**0.1.6**\] Smarter Completion Suggest Generation +- [ ] core: \[**0.1.6**\] Smarter Completion Suggest Generation - [ ] \[**0.1.7**\] Clap Parser Support -- [ ] \[**0.1.8**\] Faster Dispatcher +- [ ] core: \[**0.1.8**\] Faster Dispatcher - [ ] \[**0.1.9**\] Helpdoc Generation -- [ ] \[**0.1.9**\] Debug Toolkits (InvokeStackDisplay ...) +- [ ] core: \[**0.1.9**\] Debug Toolkits (InvokeStackDisplay ...) - [ ] ... - [ ] \[**unplanned**\] Parser Theme - [ ] core: \[**unplanned**\] Parallel Chains |
