cargo-denyrust
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cargo-denyrust" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-af34d984c7c4b693d7a0d8481d693fb0a4c597422123782f59b0df57d1f3ff89. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/gate-rust-dependency-trees-on-license-advisory-and-source-policy-violations-before-merge-with-cargo-deny before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
cargo-denyrust: used when a proxy needs to enforce Rust dependency policies before merges, by checking advisories, licenses, bans, and source rules at a repeatable checkpoint instead of performing ad-hoc manifest reviews.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- Use cargo-deny when an agent needs to enforce Rust dependency policy before merge by checking advisories, licenses, bans, and source rules in one repeatable gate instead of doing ad hoc manifest review.
- Testing
- Not tested
Browse files
Frontmatter
name: "在合并前使用 cargo-deny 对许可证、咨询和源策略违规行为的 Rust 依赖树进行限制"
slug: "gate-rust-dependency-trees-on-license-advisory-and-source-policy-violations-before-merge-with-cargo-deny"
version: "1.0.0"
displayName: "在合并前使用 cargo-deny 对许可证、咨询和源策略违规行为进行 Gate Rust 依赖树检查"
summary: "在代理需要在合并前强制执行 Rust 依赖策略时使用 cargo-deny,通过在一个可重复的检查点中检查通告、许可证、禁止项和源规则,而不是进行临时的清单审查。"
license: "MIT"
description: "在代理需要在合并前强制执行 Rust 依赖策略时使用 cargo-deny,通过在一个可重复的检查点中检查通告、许可证、禁止项和源规则,而不是进行临时的清单审查。"
github_stars: 2263
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 2263
npm_package: "cargo-deny"
npm_weekly_downloads: 3315365在合并前使用 cargo-deny 对许可证、咨询和源策略违规行为进行 Gate Rust 依赖树检查
Use cargo-deny when an agent needs to enforce Rust dependency policy before merge by checking advisories, licenses, bans, and source rules in one repeatable gate instead of doing ad hoc manifest review.
Prerequisites
Rust toolchain, Cargo project, cargo-deny configuration file, and CI or local shell access.
Installation
Use the upstream install or setup path that matches your environment:
- cargo install --locked cargo-deny && cargo deny init && cargo deny check
- If you want to use cargo-deny without having cargo installed, build cargo-deny with the standalone feature. This can be useful in Docker Images.
- cargo install --locked cargo-deny
- cargo deny init
Basic usage or getting-started notes:
-
To run on CI as a GitHub Action, see cargo-deny-action.
-
<a href="https://repology.org/project/cargo-deny/versions"><img align="right" src="https://repology.org/badge/vertical-allrepos/cargo-deny.svg" alt="Packaging status"></a>
-
Install cargo-deny
-
Extracted from upstream docs: https://raw.githubusercontent.com/EmbarkStudios/cargo-deny/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供在合并前强制执行 Rust 依赖策略的能力,涵盖许可证、安全通告、禁止项和源规则检查
- 解决开发流程中的实际痛点,具有明确的实用价值
Highlights
- description 字段提供了清晰的触发场景,内容完整未截断
Areas to improve
-
缺少 When to Use/示例章节 Reported severity: Minor
文档缺少清晰的 Phase/步骤划分、端到端示例和明确的出口条件
Recommendation: 建议补充详细的执行步骤、典型使用场景示例和成功/失败出口条件说明
Highlights
- 文档包含 Prerequisites、Installation、Documentation 等基本结构
Areas to improve
-
缺少异常处理说明 Reported severity: Minor
未覆盖主要异常情况(如网络错误、配置错误、检查失败等),也未提及不可逆操作的确认机制
Recommendation: 建议补充常见错误处理方案、检查失败时的应对策略以及关键操作前的确认机制
Highlights
- 提供了 cargo-deny 的安装命令和基本用法,工具来源明确
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- embarkstudios.github.io
- github.com
- raw.githubusercontent.com
- repology.org
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Use cargo-deny when an agent needs to enforce Rust dependency policy before merge by checking advisories, licenses, bans, and source rules in one repeatable gate instead of doing ad hoc manifest review.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.