From 82477c97b165046191b7ad54b8e1634a5b843479 Mon Sep 17 00:00:00 2001 From: coso Date: Fri, 13 Feb 2026 20:36:44 +0800 Subject: [PATCH] fix: use git dependency for aster instead of local path for CI/CD compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 主要更新: - 修复 CI/CD 构建失败问题 - 将 aster 依赖从本地路径改为 GitHub 仓库 - CI/CD 现在使用 git 依赖:https://github.com/astercloud/aster-rust tag v0.11.0 --- src-tauri/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 1fa03e874..c901edbdb 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -117,7 +117,8 @@ enigo = "0.3" # 开发时使用本地 aster-rust,CI/CD 使用远程 GitHub 仓库 # 本地开发: path = "../../../astercloud/aster-rust/crates/aster" (相对 src-tauri/) # CI/CD: git = "https://github.com/astercloud/aster-rust", tag = "v0.11.0" -aster = { path = "../../../astercloud/aster-rust/crates/aster" } +# aster = { path = "../../../astercloud/aster-rust/crates/aster" } +aster = { git = "https://github.com/astercloud/aster-rust", tag = "v0.11.0" } # MCP (Model Context Protocol) rmcp = { version = "0.12.0", features = ["client", "transport-io", "transport-child-process"] }