feat: 拆分 mirror-core

- 拆分 mirror-core,优化项目结构
This commit is contained in:
2026-10-09 19:33:23 +08:00
parent 53579f9c65
commit c9ac3bda59
29 changed files with 1460 additions and 1070 deletions
Generated
+28 -1
View File
@@ -319,6 +319,15 @@ dependencies = [
"unicode-width",
]
[[package]]
name = "inventory"
version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4f0c30c76f2f4ccee3fe55a2435f691ca00c0e4bd87abe4f4a851b1d4dac39b"
dependencies = [
"rustversion",
]
[[package]]
name = "is_terminal_polyfill"
version = "1.70.2"
@@ -427,7 +436,6 @@ dependencies = [
name = "mirror-core"
version = "0.1.0"
dependencies = [
"anyhow",
"dunce",
"mlua",
"serde",
@@ -460,8 +468,10 @@ checksum = "d96e5d00f19d8c46c71ceaced99593b90c31c57aa1fe2cb3e93a8b1698eedba9"
dependencies = [
"bstr",
"either",
"inventory",
"libc",
"mlua-sys",
"mlua_derive",
"num-traits",
"parking_lot",
"rustc-hash",
@@ -481,6 +491,17 @@ dependencies = [
"pkg-config",
]
[[package]]
name = "mlua_derive"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87de1e4bdfaa4bb99d8c1449d8a34b0f19e649ef68eb5d4e8dbf1e9ec6f4a084"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.119",
]
[[package]]
name = "nu-ansi-term"
version = "0.50.3"
@@ -636,6 +657,12 @@ dependencies = [
"windows-sys",
]
[[package]]
name = "rustversion"
version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
[[package]]
name = "scopeguard"
version = "1.2.0"