From cb660c7b8d398800d91d7c4c6c3276959fd14e71 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 29 Jan 2020 21:49:42 +0100 Subject: Move parser into askama_shared --- askama_derive/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'askama_derive/src/lib.rs') diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs index 97228fd..2189458 100644 --- a/askama_derive/src/lib.rs +++ b/askama_derive/src/lib.rs @@ -1,19 +1,15 @@ extern crate proc_macro; #[macro_use] -extern crate nom; -#[macro_use] extern crate quote; mod generator; mod input; -mod parser; use crate::input::{Print, Source, TemplateInput}; -use crate::parser::{Expr, Macro, Node}; +use askama_shared::parser::{parse, Expr, Macro, Node}; use askama_shared::{read_config_file, Config}; use proc_macro::TokenStream; -use crate::parser::parse; use std::collections::HashMap; use std::fs; use std::path::{Path, PathBuf}; -- cgit