3 个版本
| 0.0.3 | 2022 年 9 月 7 日 |
|---|---|
| 0.0.2 | 2022 年 7 月 19 日 |
| 0.0.1 | 2022 年 6 月 21 日 |
337 in 模板引擎
175KB
5K SLoC
go template for rust
lib.rs:
Rust 的 Golang 模板语言。
示例
use gtmpl;
let output = gtmpl::template("Finally! Some {{ . }} for Rust", "gtmpl");
assert_eq!(&output.unwrap(), "Finally! Some gtmpl for Rust");
依赖项
~0.4–1MB
~21K SLoC