1 rule for Rust
Cursor rules for Rust: Ownership, Errors and Async. Structure, data, errors, security, performance, and tests. Rust 1.100.0, Nov 2026.
# Rust Rules for Cursor: Ownership, Errors and Async
## Install
Install the native export at `.cursor/rules/rust-rules.mdc`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Rust Rules for Cursor: Ownership, Errors and Async
File-scoped Cursor rule for Rust. It attaches when a matching file is in context.
## Updated for Rust 1.100.0, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Stay on the rust-toolchain and the MSRV in `Cargo.toml`. Rust 1.100.0 stabilizes the never type and custom allocators. The 1...