diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-05-18 17:13:52 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-05-23 11:14:22 +0200 |
commit | e30cad33fd28c0d2546fbd70afa6834bea195f9e (patch) | |
tree | 90b2d331aa419077b506b4d8dfdc5b0ccfe72029 /askama_shared/src/generator.rs | |
parent | c78c1dfc25a8bbc6a1ceffbce31f102e9afc8007 (diff) | |
download | askama-e30cad33fd28c0d2546fbd70afa6834bea195f9e.tar.gz askama-e30cad33fd28c0d2546fbd70afa6834bea195f9e.tar.bz2 askama-e30cad33fd28c0d2546fbd70afa6834bea195f9e.zip |
Move configuration into its own module
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/generator.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/askama_shared/src/generator.rs b/askama_shared/src/generator.rs index 9174a77..ea95bd3 100644 --- a/askama_shared/src/generator.rs +++ b/askama_shared/src/generator.rs @@ -1,9 +1,8 @@ +use crate::config::{get_template_source, read_config_file, Config, WhitespaceHandling}; use crate::heritage::{Context, Heritage}; use crate::input::{Print, Source, TemplateInput}; use crate::parser::{parse, Cond, CondTest, Expr, Loop, Node, Target, When, Whitespace, Ws}; -use crate::{ - filters, get_template_source, read_config_file, CompileError, Config, WhitespaceHandling, -}; +use crate::{filters, CompileError}; use proc_macro2::TokenStream; use quote::{quote, ToTokens}; |