-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Hi team 👋
I am Rustacean.
I’d like to request the addition of a .cursorrules configuration specifically for Rust projects.
📌 Problem
Currently, there isn’t a template or rule set in this repository for Rust. Given the growing adoption of Rust in backend systems, web servers (e.g., Actix, Axum), CLI tools, and systems-level applications, having a standardized .cursorrules file would significantly help Rust developers use Cursor AI more effectively and idiomatically.
✅ Suggested Contents
The Rust rules could cover:
Idiomatic syntax and formatting preferences
Async best practices (with Tokio, async/await)
Error handling via Result and the ? operator
Code organization (lib.rs, main.rs, modules)
Trait usage, generics, and lifetimes
Common patterns for clippy, rustfmt, and testing (#[test])
Thanks for your awesome work on this repo! Looking forward to your thoughts.
Best regards.