10 lines
213 B
Rust
10 lines
213 B
Rust
|
use ructe::Ructe;
|
||
|
|
||
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||
|
let mut ructe = Ructe::from_env()?;
|
||
|
ructe.statics()?.add_files("static")?;
|
||
|
ructe.compile_templates("templates")?;
|
||
|
|
||
|
Ok(())
|
||
|
}
|