mhtemplate

Crates.iomhtemplate
lib.rsmhtemplate
version1.0.0
sourcesrc
created_at2020-01-30 14:28:20.486351
updated_at2020-01-30 14:28:20.486351
descriptionEasy-to-use, dynamic text template library.
homepage
repositoryhttps://github.com/MHmorgan/rustmhtemplate
max_upload_size
id203303
size81,215
Magnus Hirth (MHmorgan)

documentation

https://docs.rs/mhtemplate

README

mhtemplate

Latest version Documentation GitHub license

mhtemplate is an easy-to-use, dynamic text template library.

Usage

[dependencies]
mhtemplate = "1"
extern crate mhtemplate;

use mhtemplate::{Context, TemplateFactory};

let text = include_str!("text.template");
let tmpl = TemplateFactory::new(&text).parse().unwrap();
let text = tmpl.evaluate(&mut Context::new()).unwrap();

Changelog

Commit count: 0

cargo fmt