torrust_tracker_deployer_lib/domain/template/mod.rs
1//! Template rendering system for configuration files
2//!
3//! This module provides core template domain models and business logic using Tera.
4//! It supports sequential template resolution where different templates are resolved
5//! at different points in the deployment workflow.
6//!
7//! ## Module Structure
8//!
9//! - `engine` - `TemplateEngine` implementation using Tera
10//! - `file` - Template file utilities
11//! - `file_ops` - File operation utilities
12//! - `embedded` - Embedded template management for distribution
13
14pub mod embedded;
15pub mod engine;
16pub mod file;
17pub mod file_ops;
18
19// Re-export commonly used items
20pub use embedded::{TemplateManager, TemplateManagerError};
21pub use engine::{TemplateEngine, TemplateEngineError};
22pub use file_ops::{copy_file_with_dir_creation, write_file_with_dir_creation, FileOperationError};