Expand description
§RAZ Core Library
Universal command generator for Rust projects across multiple IDEs.
§Overview
RAZ (Rust Action Zapper) provides intelligent, context-aware command generation by analyzing project structure, dependencies, and cursor position to suggest relevant commands for development workflows.
§Architecture
- Context Layer: Analyzes project structure and file context
- Provider Layer: Framework-specific command generators
- Filter Layer: Rule engine for command filtering and prioritization
- Command Layer: Command execution and management
- Config Layer: Configuration management with hierarchical overrides
Re-exports§
pub use ast::RustAnalyzer;
pub use ast::SymbolContext as AstSymbolContext;
pub use file_detection::EntryPoint;
pub use file_detection::EntryPointType;
pub use file_detection::ExecutionCapabilities;
pub use file_detection::FileDetector;
pub use file_detection::FileExecutionContext;
pub use file_detection::FileRole;
pub use file_detection::RustProjectType;
pub use file_detection::SingleFileType;
pub use cargo_options::*;
pub use commands::*;
pub use context::*;
pub use dioxus_validation::*;
pub use error::*;
pub use filters::*;
pub use framework_detection::*;
pub use providers::*;
pub use universal_command_generator::*;
Modules§
- ast
- Abstract Syntax Tree parsing and analysis using tree-sitter
- browser
- Cross-platform browser launching utilities
- cargo_
options - Cargo command options catalog
- cargo_
options_ catalog - Complete catalog of all cargo subcommand options
- commands
- Command structures and execution logic
- context
- Context analysis and project structure detection
- dioxus_
validation - Comprehensive Framework CLI validation system
- error
- Error types for RAZ Core
- file_
detection - File detection and project type analysis
- filters
- Command filtering and prioritization engine
- framework_
detection - Framework detection with precise pattern matching and scoring
- providers
- Command providers for different frameworks and tools
- rustc_
options - Rustc option validation and cargo-to-rustc translation
- test_
commands - Enhanced test command generation with precise targeting
- tree_
sitter_ test_ detector - Tree-sitter based test detection for accurate AST parsing
- universal_
command_ generator - Universal command generator for all Rust execution patterns
Structs§
- Command
Config Builder - Command
Override - Config
Builder - Config
Manager - Adapter to maintain compatibility with the old ConfigManager interface
- Config
Templates - Config
Validator - Effective
Config - Global
Config - Override
Builder - RazCore
- Main entry point for the RAZ command generation system
- Workspace
Config