1pub struct Config {
4 templ_dir: Box<str>,
5}
6
7impl Config {
8 pub fn templ_dir(&self) -> &str {
9 &self.templ_dir
10 }
11}
12
13impl Default for Config {
14 fn default() -> Self {
15 Self {
16 templ_dir: String::from("templates").into_boxed_str(),
17 }
18 }
19}
20