aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-05-07 18:45:57 +0800
committer魏曹先生 <1992414357@qq.com>2026-05-07 18:45:57 +0800
commit30283975fa815b9e07aaa6794fa1749984a72422 (patch)
tree9fd1b65f5312f9f961b9a5fa278e7c17cb5b35ca
parent056c0ee97f442ce766d0c20432b43d813bb51556 (diff)
Add cargo-generate project template instructions
-rw-r--r--README.md8
-rw-r--r--mingling/README.md8
2 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index c980d24..019ee2a 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,14 @@
>
> To use the latest version, pull the project from the `main` branch on `github`
+If you have [`cargo-generate`](https://cargo-generate.github.io/cargo-generate/) installed, you can quickly generate a new project template:
+
+```bash
+cargo generate --git catilgrass/mingling-template
+```
+
+Otherwise, add `Mingling` to your `Cargo.toml`:
+
```toml
# From crates.io
mingling = "0.1.8"
diff --git a/mingling/README.md b/mingling/README.md
index eba9d4c..5e8cefd 100644
--- a/mingling/README.md
+++ b/mingling/README.md
@@ -52,6 +52,14 @@
>
> To use the latest version, pull the project from the `main` branch on `github`
+If you have [`cargo-generate`](https://cargo-generate.github.io/cargo-generate/) installed, you can quickly generate a new project template:
+
+```bash
+cargo generate --git catilgrass/mingling-template
+```
+
+Otherwise, add `Mingling` to your `Cargo.toml`:
+
```toml
# From crates.io
mingling = "0.1.8"