rust-stable
Installation
SKILL.md
Rust Stable Language Semantics
Use this skill for language semantics: ownership, borrowing, lifetimes, traits, generics, pattern matching, error propagation, and Edition differences. First verify the project's actual toolchain and Minimum Supported Rust Version (MSRV).
For standard-library API selection (which collection, which smart pointer, which string type, which I/O trait), use rust-stdlib. For concrete pattern examples ("how do I write X"), use rust-by-example.
Prerequisites Before Starting
- Run
rustc --version --verboseandcargo --version. - Inspect the
rust-versionfield inrust-toolchain.toml,rust-toolchain, andCargo.toml. - Distinguish between three versions: local toolchain, project MSRV, and current official stable release.
- When encountering version-sensitive APIs, consult Current Stable Baseline and rely on official release notes and API documentation as the final authority.
- If a project is locked to an old version, strictly adhere only to syntaxes and APIs that are already stabilized for that specific version.
Current Offline Baseline: Rust 1.97.1 (released July 16, 2026). This is a dated repository baseline and does not update automatically.