md-tmpl 0.5.3

Lightweight template engine for .tmpl.md prompt files with typed frontmatter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![cfg_attr(not(feature = "std"), no_std)]
#![forbid(unsafe_code)]
#![cfg_attr(feature = "std", doc = include_str!("../README.md"))]

// Re-export everything from the core engine crate.
#[doc(inline)]
pub use md_tmpl_core::*;

#[cfg(feature = "std")]
#[doc = include_str!("../SPEC.md")]
#[doc(hidden)]
pub mod spec {}

/// Re-export proc macros from `md-tmpl-macros` so users can write
/// `md_tmpl::include_template!` instead of importing `md_tmpl_macros` separately.
#[cfg(feature = "macros")]
pub use md_tmpl_macros::{include_template, template};