Skip to main content

Crate aam_rs

Crate aam_rs 

Source
Expand description

§aam-rs

Re-export facade. All functionality lives in aam-core + aam-derive. Your Cargo.toml only needs aam-rs.

use aam_rs::aaml::AAML;

let cfg = AAML::load("config.aam").unwrap();
println!("{}", cfg.find_obj("host").unwrap());

Modules§

aam
aam_value
aaml
Core AAML parser and runtime.
aot
builder
Fluent builder for constructing AAML configuration content programmatically.
commands
Command infrastructure for AAML directives.
error
Error types for the AAML parser and validation pipeline with beautiful colored output.
found_value
Wrapper type returned by AAML lookup methods.
from_aam
macros
pipeline
The new five-stage architecture pipeline for AAML parsing.

Macros§

define_aam_loader
Generates an AAM-based config loader struct that reads .aam files from a directory and exposes typed field accessors.
schema_to_struct

Derive Macros§

FromAam