Skip to content

cursor rules for rust #128

@z3roai

Description

@z3roai

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions