aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2019-12-07 20:43:44 +0100
committerJokler <jokler.contact@gmail.com>2019-12-07 20:43:44 +0100
commitfc622ed40c866de5d6dfe3a8015d261ad2246c61 (patch)
tree47c55aefed6fc5f642d21dd02a301c1a03049bc3 /src/main.rs
parentc7ea1433942bee14be096f39c67136801039263f (diff)
downloadfrippy-fc622ed40c866de5d6dfe3a8015d261ad2246c61.tar.gz
frippy-fc622ed40c866de5d6dfe3a8015d261ad2246c61.zip
Remove 'extern crate' lines
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/main.rs b/src/main.rs
index 5bf921b..960cc3b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,24 +1,3 @@
-extern crate frippy;
-extern crate glob;
-extern crate irc;
-extern crate log4rs;
-extern crate time;
-
-#[cfg(feature = "mysql")]
-extern crate diesel;
-#[cfg(feature = "mysql")]
-#[macro_use]
-extern crate diesel_migrations;
-#[cfg(feature = "mysql")]
-extern crate r2d2;
-#[cfg(feature = "mysql")]
-extern crate r2d2_diesel;
-
-#[macro_use]
-extern crate failure;
-#[macro_use]
-extern crate log;
-
use std::collections::HashMap;
#[cfg(feature = "mysql")]
use std::sync::Arc;
@@ -36,8 +15,9 @@ use frippy::plugins::tell::Tell;
use frippy::plugins::unicode::Unicode;
use frippy::plugins::url::UrlTitles;
-use failure::Error;
+use failure::{bail, Error};
use frippy::Config;
+use log::{error, info};
#[cfg(feature = "mysql")]
embed_migrations!();