tempura 0.5.2

Pipeline-based Static site generator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::{store::Store, Value};

mod json_path_query;
mod json_path_query_all;
mod reloader;
mod template_renderer;

pub use json_path_query::*;
pub use json_path_query_all::*;
pub use reloader::*;
pub use template_renderer::*;

pub trait Transformer {
    fn transform(&self, value: &Value, store: &Store) -> anyhow::Result<Value>;
}