From 5549f9a3cd94e3cd6700067b1c74194dadb58a0f Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 7 Dec 2018 15:52:26 +0100 Subject: Use 2018 edition idioms --- askama_derive/src/lib.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'askama_derive/src/lib.rs') diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs index d6900d7..cf5ead9 100644 --- a/askama_derive/src/lib.rs +++ b/askama_derive/src/lib.rs @@ -1,11 +1,8 @@ -extern crate askama_shared as shared; +extern crate proc_macro; #[macro_use] extern crate nom; -extern crate proc_macro; -extern crate proc_macro2; #[macro_use] extern crate quote; -extern crate syn; mod generator; mod input; @@ -13,7 +10,7 @@ mod parser; use crate::input::{Print, Source, TemplateInput}; use crate::parser::{Expr, Macro, Node}; -use crate::shared::{read_config_file, Config}; +use askama_shared::{read_config_file, Config}; use proc_macro::TokenStream; use crate::parser::parse; -- cgit