# Overthinkos Overthink Plugins Rust

> rust -- Rust compiler and Cargo

- Skill: `tomevault-io/overthinkos-overthink-plugins-rust` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/overthinkos-overthink-plugins-rust`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/overthinkos-overthink-plugins-rust/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/overthinkos-overthink-plugins-rust

---


# rust -- Rust compiler and Cargo

## Candy Properties

| Property | Value |
|----------|-------|
| Install files | `charly.yml` (packages only) |

PATH additions: `~/.cargo/bin`

## Packages

RPM: `rust`, `cargo`
DEB: `rustc`, `cargo`

## Usage

```yaml
# charly.yml
my-image:
  candy:
    - rust
```

## Used In Boxes

- No enabled boxes use this candy directly
- Transitive dependency of `language-runtimes`

## When to use the `rust` candy vs the `build-toolchain` `rust`+`cargo` packages

Two places now ship a Rust toolchain. Choose based on **where** you need it:

| Need | Use |
|------|-----|
| Rustc/cargo at **runtime** in the final container (developer shells, CI runners, on-the-fly cargo builds) | Add `/charly-coder:rust` to the runtime candies list of the box |
| Rustc/cargo at **build time only**, for compiling a cdylib that's copied into the final image (e.g., pixelflux_wayland) | Already provided by `/charly-distros:fedora-builder` via `/charly-coder:build-toolchain`'s system `rust`+`cargo` packages — no extra candy needed |

Builder-stage cargo (the build-toolchain path) keeps the runtime image small because the
toolchain stays in the multi-stage builder and never lands in the final layers.

## Related Candies

- `/charly-coder:language-runtimes` -- includes rust as a dependency
- `/charly-coder:build-toolchain` -- now also ships `rust`+`cargo` for builder-stage compilation

## When to Use This Skill

Use when the user asks about:

- Rust compiler in containers
- Cargo builds or Rust development
- The `rust` candy

## Author + Test References

- `/charly-image:layer` — candy authoring reference (tasks, vars, env_provide, tests block syntax)
- `/charly-check:check` — declarative testing framework for the `check:` block

---
> Source: [overthinkos/overthink-plugins](https://github.com/overthinkos/overthink-plugins) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-15 -->

