find-crate-source
星标16
分支3
更新时间2026年4月28日 08:49
Find sources for a Rust crate from crates.io. Activate this skill to inspect a crate's API.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Find sources for a Rust crate from crates.io. Activate this skill to inspect a crate's API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | find-crate-source |
| description | Find sources for a Rust crate from crates.io. Activate this skill to inspect a crate's API. |
To find the source for a crate, use the cargo agents CLI tool available in the PATH:
cargo agents crate-info $CRATE_NAME will give you the source path for the crate, preferring to use the version found in your current package. If the crate is not yet used, it will give you the latest version.cargo agents crate-info $CRATE_NAME --version $VERSION will give you the source path for a specific version
$VERSION is a semver constraint, so 1.0 will give you something compatible with 1.0; =1.0.0 is guaranteed to give you an exact version.