string_pipeline 0.14.0

A flexible, template-driven string transformation pipeline for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
use string_pipeline::Template;

pub fn process(input: &str, template: &str) -> Result<String, String> {
    let tmpl = Template::parse(template)?;
    tmpl.format(input)
}

pub mod complex_pipeline;
pub mod map_operations;
pub mod simple_pipeline;