Fully implement error handling with failure in download action

This commit is contained in:
timvisee 2018-03-27 01:06:14 +02:00
parent b5d472d683
commit 71f0b7c451
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2
4 changed files with 296 additions and 116 deletions

View file

@ -1,14 +1,19 @@
#[macro_use]
extern crate arrayref;
extern crate failure;
#[macro_use]
extern crate failure_derive;
extern crate mime_guess;
extern crate openssl;
pub extern crate reqwest;
pub extern crate url;
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
pub extern crate url;
pub mod action;
pub mod crypto;
pub mod file;
pub mod reader;
pub use failure::Error;