Germinate

Crates.io docs.rs

A templating library for injecting variables from multiple external sources

Example

This is a simple example showing how to pull values from the environment

```

[tokio::main]

async fn main() { std::env::set_var("NAME", "John Wick"); let input = String::from("Hi %env:NAME%!"); let output = germinate::process().await.unwrap();

assert_eq!(String::from("Hi John Wick"), output);

} ```

Sources

Currently supported sources:

License

GPL-3.0