aam_rs/lib.rs
1//! # aam-rs
2//!
3//! A lightweight AAML (AAM Markup Language) parser and validator.
4//!
5//! ## Features
6//! - Simple `key = value` configuration syntax with comment support (`#`)
7//! - Directive system: `@import`, `@derive`, `@schema`, `@type`
8//! - Schema-based type validation — fields are checked automatically during parsing
9//! - Built-in types: `i32`, `f64`, `string`, `bool`, `color`,
10//! `math::vector2/3/4`, `physics::kilogram`, `time::datetime`, and more
11//! - Custom type aliases via `@type`
12//! - Inheritance via `@derive` with child-wins-on-conflict semantics
13//!
14//! ## Quick start
15//! ```no_run
16//! use aam_rs::aaml::AAML;
17//!
18//! let cfg = AAML::load("config.aam").unwrap();
19//! println!("{}", cfg.find_obj("host").unwrap());
20//! ```
21
22pub mod aaml;
23pub mod found_value;
24pub mod error;
25pub mod builder;
26pub mod commands;
27mod types;