Claude Rules for Rust
CLAUDE.md rules for Rust development. Covers ownership and borrowing conventions, error handling strategies, Cargo workspace patterns, and Rust-specific idioms.
1 rule matching Rust
Why add Rust rules to your CLAUDE.md?
Rust's ownership model and strong type system mean there are lots of project-specific decisions Claude needs to know about — whether you prefer `anyhow` or `thiserror` for error handling, how you structure your Cargo workspace, which async runtime you use, and how you handle unsafe code. A Rust CLAUDE.md prevents Claude from suggesting solutions that compile but conflict with your project's architecture.