#tera #tera-templates #filter #text #transformation #camel-case

tera-text-filters

Text transformation filters for the Tera template engine

1 stable release

1.0.0 Aug 24, 2020

#754 in Template engine

Download history 8/week @ 2024-11-13 22/week @ 2024-11-20 25/week @ 2024-11-27 33/week @ 2024-12-04 68/week @ 2024-12-11 23/week @ 2024-12-18 15/week @ 2025-01-01 36/week @ 2025-01-08 49/week @ 2025-01-15 35/week @ 2025-01-22 30/week @ 2025-01-29 55/week @ 2025-02-05 74/week @ 2025-02-12 14/week @ 2025-02-19 54/week @ 2025-02-26

207 downloads per month
Used in framy

MIT/Apache

9KB

tera-text-filters

crates.io crates.io Documentation

Text transformation filters for the Tera template engine.

Usage

use tera::Tera;
use tera_text_filters::camel_case;

let mut tera = Tera::default();
tera.register_filter("camel_case", camel_case);

Alternatively, you can register all filters at once:

use tera::Tera;
use tera_text_filters::register_all;

let mut tera = Tera::default();
register_all(&mut tera);

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~7–16MB
~206K SLoC