replace homegrown Error with failure crate

This reduces boilerplate, making it a bit easier for me to split the db stuff
out into its own crate.
This commit is contained in:
Scott Lamb
2018-02-20 22:46:14 -08:00
parent 253f3de399
commit d84e754b2a
26 changed files with 247 additions and 387 deletions

View File

@@ -35,6 +35,7 @@ extern crate core;
extern crate docopt;
extern crate futures;
extern crate futures_cpupool;
#[macro_use] extern crate failure;
extern crate fnv;
extern crate http_serve;
extern crate hyper;
@@ -67,7 +68,6 @@ mod coding;
mod cmds;
mod db;
mod dir;
mod error;
mod h264;
mod json;
mod mp4;