aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-16 14:58:50 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-16 14:58:50 +0800
commitdd28430b67dcfda6dd2e91750a4c1a62c085150a (patch)
tree969b9b47171f73ca3d59e04e8a39d9caa34a7127 /README.md
parent002f3fd390f64b1d7632f8530a0db81d45edf6c2 (diff)
Unify dependency specification syntax in README
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index 699b1d9..b2f8b11 100644
--- a/README.md
+++ b/README.md
@@ -810,8 +810,18 @@ Hello, Alice!
Add Mingling to your `Cargo.toml`:
```toml
-[dependencies]
-mingling = "0.2.0"
+[dependencies.mingling]
+version = "0.2.0"
+features = []
+```
+
+Or use the github version
+
+```toml
+[dependencies.mingling]
+git = "https://github.com/mingling-rs/mingling.git"
+tag = "unreleased"
+features = []
```
Or use the [template project](https://github.com/mingling-rs/mingling-template):