Rusty Domain Extensible Language ================================ [![Crates.IO](https://img.shields.io/crates/v/rdxl.svg)](https://crates.rs/crates/rdxl) [![Documentation](https://img.shields.io/badge/api-rustdoc-blue.svg)](https://andrew-johnson-4.github.io/rdxl/) [![Build Nightly](https://github.com/andrew-johnson-4/rdxl/workflows/BuildNightly/badge.svg)](https://github.com/andrew-johnson-4/rdxl) [![Build](https://github.com/andrew-johnson-4/rdxl/workflows/Build/badge.svg)](https://github.com/andrew-johnson-4/rdxl) [![Donate using Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/andrew-johnson-4/donate) Domain specific language macros and component system for Rust to generate xhtml. (pronounced "Rad Axle") Rdxl is implemented as procedural macros, so there are no runtime dependencies other than for string manipulation. This means that rdxl can be used both for server-side or client-side through web assembly. ```rust let my_int = 3; let my_str = "asdf"; let my_vec = vec![true, false, true, true]; println!("{}",xhtml!()); ``` Modularized templating is encouraged through custom XML elements that implement the Display property. Foreign xhtml snippets or miscellaneous content can be inserted inline as long as it also implements the Display trait. ```rust xtype!( ); xrender!(MyList, ); ``` Foreign syntaxes, like Javascript, may be quoted inline with cooked or raw strings. ```rust xrender!(BarGraph, ); ``` ## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in rdxl by you, shall be dual licensed under the MIT and Apache 2.0 license without any additional terms or conditions.