
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
opencode-rust-coder
Advanced tools
Rust correctness tools, rust-analyzer navigation, safe edit plans, and version-pinned docs for OpenCode V2.
Türkçe | English
An OpenCode V2 plugin that helps coding agents produce correct, idiomatic Rust. It turns Cargo diagnostics into focused guidance, adds rust-analyzer navigation, produces write-free rename/refactor plans, and retrieves version-pinned Rust API documentation.
cargo check, test, Clippy, and format feedback.v0.0.0-beta-18050 or a compatible release.rust-analyzer for rust.* semantic tools. Resolution order is the explicit
rustAnalyzerPath, PATH, then ~/.cargo/bin/rust-analyzer.opencode2 plugin add opencode-rust-coder@0.2.2
opencode2 plugin list
The plugin is added to the global OpenCode V2 configuration. Restart the shared OpenCode service after installation if an existing process has already loaded the old plugin set.
To pass options, replace the string entry in ~/.config/opencode/opencode.jsonc
with the object form:
{
"$schema": "https://opencode.ai/config.json",
"plugins": [
{
"package": "opencode-rust-coder@0.2.2",
"options": {
"maxTokens": 900,
"autoLsp": false,
"tools": {
"check": true,
"audit": true,
"crate": true,
"hints": true,
"lsp": true,
"rename": true,
"refactor": true,
"docs": true
}
}
}
]
}
| Tool | Purpose |
|---|---|
rust.check | Run Cargo check, test, Clippy, format, or the full gate |
rust.audit | Find common LLM-generated Rust pitfalls |
rust.crate_lookup | Verify crate names and published versions |
rust.symbol | Show hover type and documentation |
rust.symbols | List document symbols |
rust.references | Find semantic references |
rust.definition | Open the semantic definition |
rust.implementations | Find trait/type implementations |
rust.hierarchy | Inspect incoming/outgoing calls |
rust.rename | Produce a verified, write-free rename package |
rust.refactor | List code actions without executing commands or edits |
rust.docs | Read version-pinned rustdoc or docs.rs content |
The plugin does not create or modify an agent. At runtime it registers the
autoinvoked opencode-rust-coder skill through the OpenCode Skill API. The skill
first requires an explicit Rust request or Cargo/Rust workspace evidence, then
guides the active agent through the available rust.* tools.
autoGate, autoCrateCheck, and autoAudit are enabled only in detected
Rust workspaces and are session-limited.autoLsp is disabled by default. When enabled, it has a five-second deadline
and a per-session quota..git root. Parent-project
detection ignores hidden nested worktrees, and Cargo commands pin and report the
selected Cargo.toml with --manifest-path.rust.check and rust.audit require absolute project directories; a targeted
audit path must remain relative to its requested directory.See Architecture, Benchmark Design, and Rust Research.
bun install
bun run typecheck
bun test
bun run build
The release gate is bun run typecheck && bun test && bun run build.
dist/ is generated and must not be edited manually.
The previous full benchmark run is invalid because of a scorer/workspace failure. No performance claim from that run is presented as release evidence. A paid rerun requires a repaired harness and explicit approval.
MIT © 2026 Uğur Murat Altıntaş
FAQs
Rust correctness tools, rust-analyzer navigation, safe edit plans, and version-pinned docs for OpenCode V2.
The npm package opencode-rust-coder receives a total of 1,016 weekly downloads. As such, opencode-rust-coder popularity was classified as popular.
We found that opencode-rust-coder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.