cargo build- Build the projectcargo run- Run the applicationcargo test- Run all testscargo test <test_name>- Run a specific testcargo check- Fast check for compilation errorscargo clippy- Lint with Clippy
This is a Rust GUI application for log viewing with filtering and search capabilities using egui/eframe and egui_logger. Uses xshell for CLI integration.
- Use Rust 2024 edition conventions
- Follow standard Rust naming: snake_case for functions/variables, PascalCase for types
- Use explicit types where clarity is needed, prefer type inference elsewhere
- Handle errors with
Result<T, E>and?operator - Use
cargo fmtfor consistent formatting - Prefer immutable variables unless mutation is necessary
- Document public APIs with
///comments - Use
unwrap()sparingly, prefer proper error handling