rush_sh/lib.rs
1//! Rush Shell Library
2//!
3//! This library provides the core functionality of the Rush shell,
4//! exposing modules for external use such as benchmarking and testing.
5
6pub mod arithmetic;
7pub mod brace_expansion;
8pub mod builtins;
9pub mod completion;
10pub mod executor;
11pub mod lexer;
12pub mod parameter_expansion;
13pub mod parser;
14pub mod state;
15
16// Re-export main types for convenience
17pub use executor::execute;
18pub use lexer::Token;
19pub use parser::{Ast, ShellCommand};
20pub use state::ShellState;