From 3c99b55110f908ba97fdd548b6eb47e4a565e23c Mon Sep 17 00:00:00 2001 From: AskaEth Date: Wed, 11 Nov 2026 21:49:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(presenter):=20=E7=BB=99=20[dev-dependencies?= =?UTF-8?q?]=20=E7=9A=84=20unlucky-core=20=E8=A1=A5=20version=20=E4=BF=AE?= =?UTF-8?q?=20cargo-deny=20wildcard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit crates/presenter/Cargo.toml 的 [dev-dependencies] 路径依赖漏写 version, deny.toml 的 [bans] wildcards = "deny" 因此报 error[wildcard](cargo deny check licenses bans sources 退出码 2), CI Guards 的 cargo-deny 步红。 补上与其他路径依赖同款的 version = "0.2.4",features 保持 update-test-key 不变; 该条仍只在 [dev-dependencies],不进发布二进制。 --- crates/presenter/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/presenter/Cargo.toml b/crates/presenter/Cargo.toml index f6b9b26..eab59d7 100644 --- a/crates/presenter/Cargo.toml +++ b/crates/presenter/Cargo.toml @@ -45,6 +45,6 @@ update-test-source = ["unlucky-core/update-test-source"] # `manifest.json.sig`,没有它 core 一律拒装)。这里打开 core 的 `update-test-key`:它**只**把一把 # **公开**的测试公钥并进信任表,不开任何数据源开关(与 `update-test-source` 是两件事)。 # 只出现在 `[dev-dependencies]`:库/发布构建拿不到它。守门:`packaging/check_test_key_off.py`。 -unlucky-core = { path = "../core", features = ["update-test-key"] } +unlucky-core = { path = "../core", version = "0.2.4", features = ["update-test-key"] } # 夹具用同一套种子现签清单(与 `crates/core/src/update/tests/support_sign.rs` 同源)。 ed25519-dalek.workspace = true