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
//! ## Only run in nightly
//!
//! ## [Our book](https://yarte.netlify.app/)
//!
//! ## Example
//! ```rust
//! #![feature(proc_macro_hygiene)]
//! use yarte_format::{yformat, yformat_html};
//!
//! let foo = "World";
//! assert_eq!("Hello, World!", yformat!("Hello, {{ foo }}!"));
//!
//! let foo = "&";
//! assert_eq!("Hello, &!", yformat_html!("Hello, {{ foo }}!"));
//!
//! ```
//!
#![cfg(nightly)]
#![feature(proc_macro_hygiene)]

pub use yarte_derive::{yformat, yformat_html};
pub use yarte_helpers::{
    at_helpers::*,
    helpers::{display_fn::DisplayFn, Render, RenderA},
    recompile, Error, Result,
};