diff --git a/Cargo.toml b/Cargo.toml index 8d1d24d..db45fcd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,27 +8,27 @@ license = "GPL-3.0" panic = "abort" [dependencies] +bart = "0.1.4" +bart_derive = "0.1.4" +chrono = "0.4" +clap = "2.26" futures = "0.1" futures-cpupool = "0.1" hyper = "0.11" -tokio-io = "0.1" -tokio-proto = "0.1" -tokio-service = "0.1" -serde_derive = "1.0.0" -serde = "1.0.0" -serde_urlencoded = "0.5.0" -serde_json = "1.0" -slug = "0.1" +lazy_static = "0.2" +percent-encoding = "1.0.0" r2d2 = "0.7" r2d2-diesel = "0.16" regex = "0.2" +serde = "1.0.0" +serde_derive = "1.0.0" +serde_json = "1.0" +serde_urlencoded = "0.5.0" +slug = "0.1" titlecase = "0.10" -lazy_static = "0.2" -chrono = "0.4" -clap = "2.26" -bart = "0.1.4" -bart_derive = "0.1.4" -percent-encoding = "1.0.0" +tokio-io = "0.1" +tokio-proto = "0.1" +tokio-service = "0.1" [dependencies.libsqlite3-sys] features = ["bundled"] diff --git a/src/site.rs b/src/site.rs index 854cb4d..18ea3e1 100644 --- a/src/site.rs +++ b/src/site.rs @@ -4,10 +4,10 @@ use std::fmt; use futures::{self, Future}; -use hyper; use hyper::header::ContentType; use hyper::mime; use hyper::server::*; +use hyper; use assets::StyleCss; use web::Lookup; diff --git a/src/wiki_lookup.rs b/src/wiki_lookup.rs index 55d58a9..69187f8 100644 --- a/src/wiki_lookup.rs +++ b/src/wiki_lookup.rs @@ -3,9 +3,9 @@ use std::collections::HashMap; use futures::{Future, finished, failed}; use percent_encoding::percent_decode; -use assets::*; -use article_resource::ArticleResource; use article_redirect_resource::ArticleRedirectResource; +use article_resource::ArticleResource; +use assets::*; use new_article_resource::NewArticleResource; use state::State; use web::{Lookup, Resource};