replace error-chain by anyhow (#152)

This commit is contained in:
Clément DOUIN
2021-09-13 11:52:20 +02:00
parent fa622ba1db
commit c619f06206
18 changed files with 180 additions and 454 deletions
+1 -8
View File
@@ -1,14 +1,7 @@
use error_chain::error_chain;
use anyhow::Result;
use serde::ser::{self, SerializeStruct};
use std::{fmt, process::Command, result};
error_chain! {
foreign_links {
Utf8(std::string::FromUtf8Error);
Io(std::io::Error);
}
}
pub struct Info(pub String);
impl fmt::Display for Info {