From 30283975fa815b9e07aaa6794fa1749984a72422 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 7 May 2026 18:45:57 +0800 Subject: Add cargo-generate project template instructions --- README.md | 8 ++++++++ mingling/README.md | 8 ++++++++ 2 files changed, 16 insertions(+) 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" -- cgit