From 675c463040ca34734fa8a617d5a8d26c863767d3 Mon Sep 17 00:00:00 2001 From: huangshan <13837050616@163.com> Date: Sun, 2 Aug 2026 23:01:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(packaging):=20=E4=BF=AE=E5=A4=8D=20crates.i?= =?UTF-8?q?o=20=E5=8F=91=E5=B8=83=E5=8C=85=E7=BC=BA=E5=A4=B1=E4=BA=8C?= =?UTF-8?q?=E8=BF=9B=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit exclude 中的 "bin/" 在 gitignore 语义下会匹配任意层级的 bin 目录, 导致 src/bin/ziro.rs 被一并排除,cargo install ziro 装不到可执行文件。 改为 "/bin/" 锚定到仓库根,只排除 npm 的顶层 bin/。 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5a7138d..67de241 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ exclude = [ "*.log", "package.json", "package-lock.json", - "bin/", + "/bin/", "scripts/", ".npmignore", ".clippy.toml",