aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeicao-CatilGrass <1992414357@qq.com>2026-06-10 18:28:52 +0800
committerWeicao-CatilGrass <1992414357@qq.com>2026-06-10 18:28:52 +0800
commita79c750e9a74558a18f588f155a9da72cf6d639d (patch)
treeb1a4c122d95906aacaa68bec1c98bac4c60788ca
parent4f98db03525cf072e2170a40cad9b509c6a8bd8e (diff)
Update repository URLs to mingling-rs organization
-rw-r--r--README.md24
-rw-r--r--docs/_zh_CN/index.html2
-rw-r--r--docs/_zh_CN/pages/1-intro.md2
-rw-r--r--docs/doc.html2
-rw-r--r--docs/example-viewer.html6
-rw-r--r--docs/examples.html6
-rw-r--r--index.html8
-rw-r--r--mingling/src/lib.rs2
-rw-r--r--mingling_core/README.md10
-rw-r--r--mingling_macros/README.md10
10 files changed, 39 insertions, 33 deletions
diff --git a/README.md b/README.md
index 7fd0f24..08d0251 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
<p align="center">
- <a href="https://github.com/catilgrass/mingling">
- <img alt="Mingling" src="https://github.com/catilgrass/mingling/raw/main/docs/res/pixel_icon_o_1024.png" width="30%">
+ <a href="https://github.com/mingling-rs/mingling">
+ <img alt="Mingling" src="https://github.com/mingling-rs/mingling/raw/main/docs/res/pixel_icon_o_1024.png" width="30%">
</a>
</p>
<h1 align="center">Mìng Lìng - 命令</h1>
@@ -9,14 +9,14 @@
Macro magician in your CLI.
</p>
<p align="center">
- <img src="https://img.shields.io/github/stars/catilgrass/mingling?style=flat">
+ <img src="https://img.shields.io/github/stars/mingling-rs/mingling?style=flat">
<a href="https://crates.io/crates/mingling">
<img src="https://img.shields.io/crates/v/mingling?style=flat">
</a>
<a href="https://docs.rs/mingling/latest/mingling/">
<img src="https://img.shields.io/docsrs/mingling?style=flat">
</a>
- <a href="https://catilgrass.github.io/mingling/">
+ <a href="https://mingling-rs.github.io/mingling/">
<img src="https://img.shields.io/badge/helpdoc-rewriting-yellow?style=flat">
</a>
</p>
@@ -30,22 +30,22 @@
🤔 What is Mingling? 🤔
</h1>
-[`Mingling`](https://github.com/catilgrass/mingling) is a **proc-macro and type system-based** Rust CLI framework, suitable for developing complex command-line programs with numerous subcommands.
+[`Mingling`](https://github.com/mingling-rs/mingling) is a **proc-macro and type system-based** Rust CLI framework, suitable for developing complex command-line programs with numerous subcommands.
> **BTW:** Its name comes from the Chinese Pinyin **"Mìng Lìng"**, meaning **"Command"**. 😄
### Mingling's Core Capabilities
1. **Separation of Concerns, Clear Logic**: Mingling decouples logic by responsibility, helping you organize your CLI program more clearly.
- See example: [Example](https://github.com/catilgrass/mingling/blob/main/examples/example-basic/src/main.rs)
+ See example: [Example](https://github.com/mingling-rs/mingling/blob/main/examples/example-basic/src/main.rs)
2. **"All Logic is Functions"**: Execution logic, rendering logic, completion logic, help logic — everything is a function. Just attach the corresponding attribute macro to bind them to your program.
3. **Fully Dynamic Completion System**: With the `comp` feature, you can flexibly implement dynamic completion logic for any subcommand.
- See examples: [Example](https://github.com/catilgrass/mingling/blob/main/examples/example-completion/src/main.rs)
+ See examples: [Example](https://github.com/mingling-rs/mingling/blob/main/examples/example-completion/src/main.rs)
4. **Lightning-Fast Subcommand Dispatch**: With the `dispatch_tree` feature, Mingling hardens the subcommand structure into a prefix tree at **compile time**, enabling blazing-fast subcommand lookup.
- See examples: [Example](https://github.com/catilgrass/mingling/blob/main/examples/example-dispatch-tree/src/main.rs)
+ See examples: [Example](https://github.com/mingling-rs/mingling/blob/main/examples/example-dispatch-tree/src/main.rs)
5. **Lightweight Dependencies, On-Demand Importing**: Minimal core dependencies keep builds fast; enhanced features are imported on demand through fine-grained feature flags.
6. **Structured Output**: Enabling the `general_renderer` feature adds support for flags like `--json` and `--yaml`, providing structured output capabilities.
- See examples: [Example](https://github.com/catilgrass/mingling/blob/main/examples/example-general-renderer/src/main.rs)
+ See examples: [Example](https://github.com/mingling-rs/mingling/blob/main/examples/example-general-renderer/src/main.rs)
<h1 align="center">
✍️ Writing with Mingling ✍️
@@ -810,15 +810,15 @@ Add Mingling to your `Cargo.toml`:
mingling = "0.2.0"
```
-Or use the [template project](https://github.com/catilgrass/mingling-template):
+Or use the [template project](https://github.com/mingling-rs/mingling-template):
```bash
-cargo generate --git catilgrass/mingling-template
+cargo generate --git mingling-rs/mingling-template
```
Then check out:
-- 📖 [Mingling Helpdoc](https://catilgrass.github.io/mingling/)
+- 📖 [Mingling Helpdoc](https://mingling-rs.github.io/mingling/)
- 📖 [Examples on docs.rs](https://docs.rs/mingling/latest/mingling/_mingling_examples/index.html)
- 📖 [Full API docs](https://docs.rs/mingling/latest/mingling/)
diff --git a/docs/_zh_CN/index.html b/docs/_zh_CN/index.html
index a61fde3..99cff81 100644
--- a/docs/_zh_CN/index.html
+++ b/docs/_zh_CN/index.html
@@ -48,7 +48,7 @@
name: "Mingling 中文文档",
repo: "true",
corner: {
- url: "https://github.com/catilgrass/mingling",
+ url: "https://github.com/mingling-rs/mingling",
icon: "github",
},
auto2top: true,
diff --git a/docs/_zh_CN/pages/1-intro.md b/docs/_zh_CN/pages/1-intro.md
index 8c5472d..f0294f7 100644
--- a/docs/_zh_CN/pages/1-intro.md
+++ b/docs/_zh_CN/pages/1-intro.md
@@ -9,7 +9,7 @@
因为这是一个早期框架,所以尚不成熟。
-若您在使用过程中遇到任何问题,欢迎提交 [Issue](https://github.com/catilgrass/mingling/issues),我们乐意解决。
+若您在使用过程中遇到任何问题,欢迎提交 [Issue](https://github.com/mingling-rs/mingling/issues),我们乐意解决。
## Mingling 是什么?
diff --git a/docs/doc.html b/docs/doc.html
index 1e78918..89c6275 100644
--- a/docs/doc.html
+++ b/docs/doc.html
@@ -43,7 +43,7 @@
name: "Mingling Helpdoc",
repo: "true",
corner: {
- url: "https://github.com/catilgrass/mingling",
+ url: "https://github.com/mingling-rs/mingling",
icon: "github",
},
auto2top: true,
diff --git a/docs/example-viewer.html b/docs/example-viewer.html
index 4eedbd9..cfab8a5 100644
--- a/docs/example-viewer.html
+++ b/docs/example-viewer.html
@@ -271,7 +271,9 @@
<div class="nav-links">
<a href="doc.html">Docs</a>
<a href="examples.html">Examples</a>
- <a href="https://github.com/catilgrass/mingling" target="_blank"
+ <a
+ href="https://github.com/mingling-rs/mingling"
+ target="_blank"
>GitHub</a
>
</div>
@@ -333,7 +335,7 @@
document.getElementById("exampleName").textContent =
exampleName.replace(/^example-/, "");
document.getElementById("githubLink").href =
- "https://github.com/catilgrass/mingling/tree/main/examples/" +
+ "https://github.com/mingling-rs/mingling/tree/main/examples/" +
exampleName;
// ── Load file list from auto-generated JSON ──
diff --git a/docs/examples.html b/docs/examples.html
index 47513f2..fe4c1a3 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -317,7 +317,9 @@
<div class="nav-links">
<a href="doc.html">Docs</a>
<a href="examples.html" class="active">Examples</a>
- <a href="https://github.com/catilgrass/mingling" target="_blank"
+ <a
+ href="https://github.com/mingling-rs/mingling"
+ target="_blank"
>GitHub</a
>
<a
@@ -431,7 +433,7 @@
card.className = "example-card";
var ghBase =
- "https://github.com/catilgrass/mingling/tree/main/examples/" +
+ "https://github.com/mingling-rs/mingling/tree/main/examples/" +
ex.id;
var viewUrl =
"example-viewer.html?name=" + encodeURIComponent(ex.id);
diff --git a/index.html b/index.html
index da42f99..b9ad213 100644
--- a/index.html
+++ b/index.html
@@ -639,7 +639,9 @@
<div class="nav-links">
<a href="docs/doc.html">Docs</a>
<a href="docs/examples.html">Examples</a>
- <a href="https://github.com/catilgrass/mingling" target="_blank"
+ <a
+ href="https://github.com/mingling-rs/mingling"
+ target="_blank"
>GitHub</a
>
<a
@@ -683,7 +685,7 @@
📖 Read The Docs
</a>
<a
- href="https://github.com/catilgrass/mingling"
+ href="https://github.com/mingling-rs/mingling"
target="_blank"
class="btn-secondary"
>
@@ -849,7 +851,7 @@ gen_program!();
📖 Read The Docs
</a>
<a
- href="https://github.com/catilgrass/mingling"
+ href="https://github.com/mingling-rs/mingling"
target="_blank"
class="btn-secondary"
>
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs
index db9b063..7b96d34 100644
--- a/mingling/src/lib.rs
+++ b/mingling/src/lib.rs
@@ -1,7 +1,7 @@
//! Mingling
//!
//! # Intro
-//! [`Mingling`](https://github.com/catilgrass/mingling) is a **proc-macro and type system-based** Rust CLI framework, suitable for developing complex command-line programs with numerous subcommands.
+//! [`Mingling`](https://github.com/mingling-rs/mingling) is a **proc-macro and type system-based** Rust CLI framework, suitable for developing complex command-line programs with numerous subcommands.
//!
//! # Use
//! Here is a basic project written using **Mingling**:
diff --git a/mingling_core/README.md b/mingling_core/README.md
index 87ff6a9..09e5ed5 100644
--- a/mingling_core/README.md
+++ b/mingling_core/README.md
@@ -1,16 +1,16 @@
<p align="center">
- <a href="https://github.com/CatilGrass/mingling">
- <img alt="Mingling" src="https://github.com/CatilGrass/mingling/raw/main/docs/res/pixel_icon_core_1024.png" width="30%">
+ <a href="https://github.com/mingling-rs/mingling">
+ <img alt="Mingling" src="https://github.com/mingling-rs/mingling/raw/main/docs/res/pixel_icon_core_1024.png" width="30%">
</a>
</p>
<h1 align="center">Mìng Lìng - Core Library</h1>
# Intro
- This crate is the core implementation of [`mingling`](https://crates.io/crates/mingling). Do not use directly!
+This crate is the core implementation of [`mingling`](https://crates.io/crates/mingling). Do not use directly!
- It provides the core scheduling capabilities of **Mingling**. For details, please refer to the [**Mingling** API Documentation](https://docs.rs/mingling/latest/mingling/) 😀
+It provides the core scheduling capabilities of **Mingling**. For details, please refer to the [**Mingling** API Documentation](https://docs.rs/mingling/latest/mingling/) 😀
# License
- Consistent with [`mingling`](https://crates.io/crates/mingling), licensed under the `MIT` and `APACHE` dual license.
+Consistent with [`mingling`](https://crates.io/crates/mingling), licensed under the `MIT` and `APACHE` dual license.
diff --git a/mingling_macros/README.md b/mingling_macros/README.md
index c0f7b9d..c720b9a 100644
--- a/mingling_macros/README.md
+++ b/mingling_macros/README.md
@@ -1,16 +1,16 @@
<p align="center">
- <a href="https://github.com/CatilGrass/mingling">
- <img alt="Mingling" src="https://github.com/CatilGrass/mingling/raw/main/docs/res/pixel_icon_core_1024.png" width="30%">
+ <a href="https://github.com/mingling-rs/mingling">
+ <img alt="Mingling" src="https://github.com/mingling-rs/mingling/raw/main/docs/res/pixel_icon_core_1024.png" width="30%">
</a>
</p>
<h1 align="center">Mìng Lìng - Macros</h1>
# Intro
- This crate is the macro impl of [`mingling`](https://crates.io/crates/mingling). Do not use it directly!
+This crate is the macro impl of [`mingling`](https://crates.io/crates/mingling). Do not use it directly!
- It provides the metaprogramming capabilities of **Mingling**. For details, please refer to the [**Mingling** API documentation](https://docs.rs/mingling/latest/mingling/) 😀
+It provides the metaprogramming capabilities of **Mingling**. For details, please refer to the [**Mingling** API documentation](https://docs.rs/mingling/latest/mingling/) 😀
# License
- Licensed under the `MIT` or `APACHE` 2.0 license, consistent with [`mingling`](https://crates.io/crates/mingling).
+Licensed under the `MIT` or `APACHE` 2.0 license, consistent with [`mingling`](https://crates.io/crates/mingling).