Files
simplicitty/AGENTS.md

653 B

Agent Instructions

Build, Lint, and Test

  • Build: cargo build
  • Lint: cargo clippy
  • Test: cargo test
  • Run a single test: cargo test --test <test_name>

Code Style

  • Formatting: Use cargo fmt to format the code.
  • Imports: Group imports by standard library, external crates, and project modules.
  • Types: Use explicit types.
  • Naming Conventions: Follow Rust's naming conventions (e.g., snake_case for variables and functions, PascalCase for types).
  • Error Handling: Use Result and ? for error propagation. Use panic! only for unrecoverable errors.
  • Logging: Use the log crate for logging.