From f4f82b74c65b31b88d6aacde14c47673a165cee4 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 15 Jan 2020 13:11:14 +0100 Subject: Modernize and simplify imports --- askama_shared/src/lib.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'askama_shared/src') diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index 61def8a..87ec0aa 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -1,21 +1,17 @@ #![cfg_attr(feature = "cargo-clippy", allow(unused_parens))] -#[macro_use] -extern crate serde_derive; - use toml; -use std::collections::HashSet; +use std::collections::{BTreeMap, HashSet}; use std::env; use std::fs; use std::path::{Path, PathBuf}; -mod error; +use serde::Deserialize; -pub use crate::error::{Error, Result}; pub use askama_escape::MarkupDisplay; -use std::collections::BTreeMap; - +mod error; +pub use crate::error::{Error, Result}; pub mod filters; pub mod helpers; -- cgit