Skip to main content

add-cargo-dependency

Stars5
Forks0
UpdatedJuly 17, 2026 at 17:02

How to add a new crates.io dependency to this repo. The `nix develop` devshell pins cargo offline against a vendored registry, so a naive `cargo add` / build fails with a "crates-io is replaced with non-remote-registry source dir" error. Use whenever adding a dependency to any crate's Cargo.toml.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly