aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/2-getting-started.md
diff options
context:
space:
mode:
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!