diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-01-15 13:11:14 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-01-15 13:47:41 +0100 |
commit | f4f82b74c65b31b88d6aacde14c47673a165cee4 (patch) | |
tree | ad134c87ee35c691a01fbd80e06a9e0bf0ae6ccf /askama_shared/src | |
parent | 6360ea517dcf98d57b1da287845edd20a86543b5 (diff) | |
download | askama-f4f82b74c65b31b88d6aacde14c47673a165cee4.tar.gz askama-f4f82b74c65b31b88d6aacde14c47673a165cee4.tar.bz2 askama-f4f82b74c65b31b88d6aacde14c47673a165cee4.zip |
Modernize and simplify imports
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/lib.rs | 12 |
1 files changed, 4 insertions, 8 deletions
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; |