|
|
@ -3,8 +3,8 @@ use svg::*;
|
|
|
|
|
|
|
|
|
|
|
|
use askama::Template;
|
|
|
|
use askama::Template;
|
|
|
|
use derive_more::From;
|
|
|
|
use derive_more::From;
|
|
|
|
use std::{fs::OpenOptions, io::Write};
|
|
|
|
|
|
|
|
use lazy_static::lazy_static;
|
|
|
|
use lazy_static::lazy_static;
|
|
|
|
|
|
|
|
use std::{fs::OpenOptions, io::Write};
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Template)]
|
|
|
|
#[derive(Template)]
|
|
|
|
#[template(path = "document.xml")]
|
|
|
|
#[template(path = "document.xml")]
|
|
|
@ -50,4 +50,4 @@ fn main() -> Result<(), Error> {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
write!(file, "{}", document.render()?)?;
|
|
|
|
write!(file, "{}", document.render()?)?;
|
|
|
|
Ok(())
|
|
|
|
Ok(())
|
|
|
|
}
|
|
|
|
}
|
|
|
|