Dependancy cleanup.
This commit is contained in:
parent
078331c15f
commit
8d17976b8a
@ -36,7 +36,7 @@ struct Opt {
|
|||||||
fn run() -> Result<()> {
|
fn run() -> Result<()> {
|
||||||
let args = Opt::from_args();
|
let args = Opt::from_args();
|
||||||
|
|
||||||
loggerv::init_with_verbosity(args.verbosity).unwrap();
|
loggerv::init_with_verbosity(args.verbosity)?;
|
||||||
|
|
||||||
hammond_data::init()?;
|
hammond_data::init()?;
|
||||||
|
|
||||||
|
|||||||
@ -10,12 +10,12 @@ hyper = "0.11.2"
|
|||||||
reqwest = "0.7.3"
|
reqwest = "0.7.3"
|
||||||
error-chain = "0.11.0"
|
error-chain = "0.11.0"
|
||||||
log = "0.3.8"
|
log = "0.3.8"
|
||||||
loggerv = "0.3.0"
|
diesel = { version = "0.16.0", features = ["sqlite"] }
|
||||||
diesel = { version = "0.16.0", features = ["sqlite", "deprecated-time", "chrono"] }
|
|
||||||
diesel_codegen = { version = "0.16.0", features = ["sqlite"] }
|
diesel_codegen = { version = "0.16.0", features = ["sqlite"] }
|
||||||
xdg = "2.1.0"
|
xdg = "2.1.0"
|
||||||
lazy_static = "0.2.8"
|
lazy_static = "0.2.8"
|
||||||
rss = { version = "1.1.0", features = ["from_url"]}
|
rss = "1.1.0"
|
||||||
|
# overwrite diesel dependancy that disables a feature rss depends upon
|
||||||
dotenv = "*"
|
dotenv = "*"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|||||||
@ -3,11 +3,13 @@ use diesel::result;
|
|||||||
use rss;
|
use rss;
|
||||||
use hyper;
|
use hyper;
|
||||||
use reqwest;
|
use reqwest;
|
||||||
|
use log;
|
||||||
|
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
||||||
error_chain! {
|
error_chain! {
|
||||||
foreign_links {
|
foreign_links {
|
||||||
|
LogError(log::SetLoggerError);
|
||||||
MigrationError(RunMigrationsError);
|
MigrationError(RunMigrationsError);
|
||||||
DieselResultError(result::Error);
|
DieselResultError(result::Error);
|
||||||
RSSError(rss::Error);
|
RSSError(rss::Error);
|
||||||
|
|||||||
@ -8,7 +8,6 @@ extern crate lazy_static;
|
|||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate log;
|
extern crate log;
|
||||||
extern crate loggerv;
|
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate diesel;
|
extern crate diesel;
|
||||||
|
|||||||
@ -7,10 +7,8 @@ authors = ["Jordan Petridis <jordanpetridis@protonmail.com>"]
|
|||||||
hammond-data = {path = "../hammond-data"}
|
hammond-data = {path = "../hammond-data"}
|
||||||
error-chain = "0.11.0"
|
error-chain = "0.11.0"
|
||||||
log = "0.3.8"
|
log = "0.3.8"
|
||||||
loggerv = "0.3.0"
|
|
||||||
reqwest = "0.7.3"
|
reqwest = "0.7.3"
|
||||||
hyper = "0.11.2"
|
hyper = "0.11.2"
|
||||||
diesel = { version = "0.16.0", features = ["sqlite"] }
|
diesel = { version = "0.16.0", features = ["sqlite"] }
|
||||||
diesel_codegen = { version = "0.16.0", features = ["sqlite"] }
|
|
||||||
rss = { version = "1.1.0", features = ["from_url"]}
|
rss = { version = "1.1.0", features = ["from_url"]}
|
||||||
dotenv = "*"
|
dotenv = "*"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user