tera-text-filters

crates.io crates.io Documentation

Text transformation filters for the Tera template engine.

Usage

```rust use tera::Tera; use teratextfilters::camel_case;

let mut tera = Tera::default(); tera.registerfilter("camelcase", camel_case); ```

Alternatively, you can register all filters at once:

```rust use tera::Tera; use teratextfilters::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.