aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'askama_shared/src/lib.rs')
-rw-r--r--askama_shared/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs
index f940021..e379b72 100644
--- a/askama_shared/src/lib.rs
+++ b/askama_shared/src/lib.rs
@@ -19,12 +19,12 @@ pub use escaping::MarkupDisplay;
pub mod filters;
pub mod path;
-struct Config {
- dirs: Vec<PathBuf>,
+pub struct Config {
+ pub dirs: Vec<PathBuf>,
}
impl Config {
- fn new() -> Config {
+ pub fn new() -> Config {
let root = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
let filename = root.join(CONFIG_FILE_NAME);