#golang #templating #template

go-template

The Golang Templating Language for Rust

3 releases

0.0.3 Sep 7, 2022
0.0.2 Jul 19, 2022
0.0.1 Jun 21, 2022

#331 in Template engine

Download history 4/week @ 2024-02-22 2/week @ 2024-02-29 39/week @ 2024-03-28 31/week @ 2024-04-04

70 downloads per month

MIT license

175KB
5K SLoC

go template for rust


lib.rs:

The Golang Templating Language for Rust.

Example

use gtmpl;

let output = gtmpl::template("Finally! Some {{ . }} for Rust", "gtmpl");
assert_eq!(&output.unwrap(), "Finally! Some gtmpl for Rust");

Dependencies

~0.5–1MB
~23K SLoC