extract account and config from cli to lib (#340)

This commit is contained in:
Clément DOUIN
2022-05-28 16:59:12 +02:00
parent 0e98def513
commit 3f5feed0ff
27 changed files with 219 additions and 103 deletions
+3 -1
View File
@@ -1,11 +1,13 @@
#[cfg(feature = "notmuch-backend")]
use std::{collections::HashMap, env, fs, iter::FromIterator};
#[cfg(feature = "notmuch-backend")]
use himalaya::{
backends::{Backend, MaildirBackend, NotmuchBackend, NotmuchEnvelopes},
config::{AccountConfig, MaildirBackendConfig, NotmuchBackendConfig},
};
#[cfg(feature = "notmuch-backend")]
use himalaya_lib::account::{AccountConfig, MaildirBackendConfig, NotmuchBackendConfig}
#[cfg(feature = "notmuch-backend")]
#[test]