From ce1bbee22c1ac79c54c88722a1e3b3e522b35e37 Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Sun, 1 Oct 2017 23:26:57 +0200 Subject: [PATCH] Sort some lists of things lexicographically --- Cargo.toml | 28 ++++++++++++++-------------- src/site.rs | 2 +- src/wiki_lookup.rs | 4 ++-- 3 files changed, 17 insertions(+), 17 deletions(-) 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};