herolib_core/lib.rs
1//! # SAL Core Package
2//!
3//! The `herolib-core` package provides core utilities for the SAL library:
4//!
5//! ## Modules
6//!
7//! - [`text`]: Text processing utilities (regex, templating, normalization)
8//! - [`heroscript`]: HeroScript configuration language for safe system orchestration
9//! - [`openapi`]: OpenAPI specification parsing and client code generation
10//! - [`openrpc`]: OpenRPC specification parsing and client code generation
11//!
12//! ## Features
13//!
14//! - `git` (optional): Enable git operations in HeroScript include processing
15//!
16//! ## Example
17//!
18//! ```rust
19//! use herolib_core::text;
20//!
21//! // Use text utilities
22//! let fixed = text::name_fix("My Document.txt");
23//! let dedented = text::dedent(" line1\n line2");
24//! ```
25
26pub mod heroscript;
27pub mod text;
28
29// Rhai integration - consolidated module
30pub mod rhai;
31
32// API specification modules
33pub mod openapi;
34pub mod openrpc;