feat: update to latest async-imap

This commit is contained in:
dignifiedquire
2019-12-19 13:36:09 +01:00
committed by Alexander Krotov
parent cf7ccb5b8c
commit a8fa644d25
7 changed files with 76 additions and 77 deletions

View File

@@ -83,6 +83,8 @@ pub fn get_info() -> HashMap<&'static str, String> {
impl Context {
/// Creates new context.
pub fn new(cb: Box<ContextCallback>, os_name: String, dbfile: PathBuf) -> Result<Context> {
pretty_env_logger::try_init_timed().ok();
let mut blob_fname = OsString::new();
blob_fname.push(dbfile.file_name().unwrap_or_default());
blob_fname.push("-blobs");