raz-core
Core library for RAZ (Rust Action Zapper) - Universal command generator for Rust projects.
Features
- Universal File Detection: Analyze any Rust file to determine execution context
- Stateless Operation: Works from any directory without workspace context
- Tree-sitter Powered: AST-driven test, function, and doctest detection with rust-analyzer precision
- Advanced Doctest Support: Accurate detection with hidden lines, multi-block support, and precise association
- Smart Test Detection: Cursor-aware test discovery with module hierarchy support
- Framework Providers: Specialized support for Leptos, Dioxus, Tauri, Yew, and Bevy
- Override System: Smart parsing and persistence of command overrides
- Configuration Management: Function-level override persistence
Quick Start
use ;
use Path;
async
Documentation
For complete documentation and usage examples, visit the main RAZ repository.
CLI Tool
For a ready-to-use command-line interface, install the raz-cli crate: