diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-29 20:56:19 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-29 20:56:19 +0800 |
| commit | 0617ce6a527567f4545558fda632dd8d7e06606d (patch) | |
| tree | 06479dec6f55d9a46adf0f0ff096340aaefc46b2 /mingling/src/example_docs.rs | |
| parent | 7e9c77641a3dfb5df7c2218081ee625d0d069f4b (diff) | |
Add auto-generated feature flags module and tooling
Diffstat (limited to 'mingling/src/example_docs.rs')
| -rw-r--r-- | mingling/src/example_docs.rs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mingling/src/example_docs.rs b/mingling/src/example_docs.rs index b665485..b46041f 100644 --- a/mingling/src/example_docs.rs +++ b/mingling/src/example_docs.rs @@ -1473,6 +1473,30 @@ pub mod example_implicit_dispatcher {} /// gen_program!(); /// ``` pub mod example_panic_unwind {} + +/// +/// Source code (./Cargo.toml) +/// ```toml +/// [package] +/// name = "example-repl-advanced" +/// version = "0.1.0" +/// edition = "2024" +/// +/// [dependencies.mingling] +/// path = "../../mingling" +/// features = ["repl", "repl_extra", "parser", "extra_macros"] +/// +/// [dependencies] +/// just_fmt = "0.1.2" +/// ``` +/// +/// Source code (./src/main.rs) +/// ```ignore +/// fn main() { +/// println!("Hello, world!"); +/// } +/// ``` +pub mod example_repl_advanced {} /// Example REPL Basic /// /// > This example demonstrates how to develop a REPL program using the `repl` feature |
