#template #golang #templating

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

#340 in Template engine

Download history 3/week @ 2024-08-25 17/week @ 2024-09-01 11/week @ 2024-09-08 1/week @ 2024-09-15 26/week @ 2024-09-22 360/week @ 2024-10-06 1/week @ 2024-10-13 18/week @ 2024-10-20

379 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.4–1MB
~20K SLoC