1 stable release

1.0.0 Aug 24, 2020

#591 in Template engine

Download history 37/week @ 2024-03-13 43/week @ 2024-03-20 46/week @ 2024-03-27 54/week @ 2024-04-03 27/week @ 2024-04-10 32/week @ 2024-04-17 38/week @ 2024-04-24 31/week @ 2024-05-01 28/week @ 2024-05-08 26/week @ 2024-05-15 23/week @ 2024-05-22 32/week @ 2024-05-29 24/week @ 2024-06-05 63/week @ 2024-06-12 105/week @ 2024-06-19 142/week @ 2024-06-26

338 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–17MB
~218K SLoC