aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-23 04:12:06 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-23 04:12:06 +0800
commitdf2e43f20407ada1f9561a600c6a2987301268b9 (patch)
treeb6f974f0136c48c2b34b0e371105de0bf3dfe464
parent05b0b25695bf47a46000d8eb813660bfe12f1727 (diff)
feat: add workspace-level root package
Add a root package `mingling-workspace` with an empty `main.rs` to improve Cargo workspace compatibility.
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml6
-rw-r--r--src/main.rs1
3 files changed, 11 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5db81a8..77fcf77 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -270,6 +270,10 @@ dependencies = [
]
[[package]]
+name = "mingling-workspace"
+version = "0.3.0"
+
+[[package]]
name = "mingling_core"
version = "0.3.0"
dependencies = [
diff --git a/Cargo.toml b/Cargo.toml
index 8baadbb..558a4b8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -77,3 +77,9 @@ lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
+
+[package]
+name = "mingling-workspace"
+version.workspace = true
+edition.workspace = true
+publish = false
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..f328e4d
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1 @@
+fn main() {}