Skip to content

Commit

Permalink
refactor: move template_engine
Browse files Browse the repository at this point in the history
  • Loading branch information
yuma140902 committed Dec 18, 2023
1 parent c8c41a9 commit 11c7a58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ pub mod pipeline;
pub mod project_config;
pub mod store;
mod string_matcher;
mod template_engine;
pub mod transformer;
mod value;

pub use loader::*;
pub use string_matcher::*;
pub use template_engine::*;
pub use value::*;

#[tracing::instrument(ret)]
Expand Down
6 changes: 5 additions & 1 deletion src/transformer/template_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ use anyhow::Context;
use serde::{Deserialize, Serialize};
use tracing::warn;

use crate::{store::Store, TemplateEngine, Value};
use crate::{store::Store, Value};

use self::template_engine::TemplateEngine;

use super::Transformer;

pub mod template_engine;

#[derive(Debug, Deserialize, Serialize)]
pub struct TemplateRenderer {
pub template_key: String,
Expand Down
File renamed without changes.

0 comments on commit 11c7a58

Please sign in to comment.