1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! # aam-rs
//!
//! A lightweight AAML (AAM Markup Language) parser and validator.
//!
//! ## Features
//! - Simple `key = value` configuration syntax with comment support (`#`)
//! - Directive system: `@import`, `@derive`, `@schema`, `@type`
//! - Schema-based type validation — fields are checked automatically during parsing
//! - Built-in types: `i32`, `f64`, `string`, `bool`, `color`,
//! `math::vector2/3/4`, `physics::kilogram`, `time::datetime`, and more
//! - Custom type aliases via `@type`
//! - Inheritance via `@derive` with child-wins-on-conflict semantics
//!
//! ## Quick start
//! ```no_run
//! use aam_rs::aaml::AAML;
//!
//! let cfg = AAML::load("config.aam").unwrap();
//! println!("{}", cfg.find_obj("host").unwrap());
//! ```
/// Python extension-module entry point, compiled only with `--features python`.
///
/// In Python: `from aam_rs import AAML`