Crates.io | mage |
lib.rs | mage |
version | 0.2.0 |
source | src |
created_at | 2016-11-21 01:28:44.754581 |
updated_at | 2017-02-13 00:34:53.044239 |
description | An intuitive and powerful template engine. |
homepage | https://github.com/fengcen/mage |
repository | https://github.com/fengcen/mage.git |
max_upload_size | |
id | 7321 |
size | 48,505 |
Mage is an intuitive and powerful template engine.
Add dependency to Cargo.toml
[dependencies]
mage = "^0.2"
In your main.rs
or lib.rs
:
extern crate mage;
Supported keywords: for
if
include
set
Mage support expression evaluate with crate eval
.
Built-in functions and operators documentation: eval
.
mage is primarily distributed under the terms of the MIT license. See LICENSE for details.