mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
extract account and config from cli to lib (#340)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user