nenjo_xml/lib.rs
1//! Generic prompt rendering: XML serialization, template engine.
2//!
3//! This crate provides infrastructure for building structured LLM prompts.
4//! It has no knowledge of any specific domain — callers provide template
5//! variables as a `HashMap<String, String>` with dotted keys.
6
7pub mod template;
8pub mod types;
9pub mod xml;
10
11pub use types::{metadata_json_to_xml, render_items};
12pub use xml::{to_xml, to_xml_pretty, xml_escape, xml_unescape};