aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/2-getting-started.md
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-15 00:42:19 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-15 00:42:19 +0800
commitb944b00207161ae271143cabbbe73cd146a0b5d3 (patch)
tree071a789a906ece6ec88db981e315e3847ed5acc8 /docs/pages/2-getting-started.md
parente214d07f6783009869c93bbab1e4bec9829584ee (diff)
Fix trailing whitespace in documentation files
Diffstat (limited to 'docs/pages/2-getting-started.md')
-rw-r--r--docs/pages/2-getting-started.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/pages/2-getting-started.md b/docs/pages/2-getting-started.md
index 77503e9..35da464 100644
--- a/docs/pages/2-getting-started.md
+++ b/docs/pages/2-getting-started.md
@@ -6,7 +6,7 @@
cargo new my-cli
cd my-cli
```
-
+
## Add Dependency
Add the following to `Cargo.toml`:
@@ -16,7 +16,7 @@ Add the following to `Cargo.toml`:
version = "0.2"
features = []
```
-
+
## Enable Features
**Mingling** has all features disabled by default and does not provide an all-in-one feature like `full`.
@@ -31,7 +31,7 @@ features = [
"comp",
]
```
-
+
> [!NOTE]
> Visit [docs.rs](https://docs.rs/mingling/latest/mingling/feature/index.html) or [Features](pages/other/features) to learn about all available features.
@@ -41,22 +41,22 @@ Edit `src/main.rs` with the following code:
```rust
use mingling::prelude::*;
-
+
fn main() {
let mut program = ThisProgram::new();
-
+
program.exec_and_exit();
}
-
+
gen_program!();
```
-
+
## Verify Compilation
```plaintext
~# cargo check
```
-
+
---
Once everything is good, start building!