fix errors and warns notmuch cargo feature

This commit is contained in:
Clément DOUIN
2022-03-01 22:50:24 +01:00
parent 5f13489e83
commit 21e5658e43
2 changed files with 9 additions and 4 deletions
+3
View File
@@ -1,10 +1,13 @@
#[cfg(feature = "notmuch")]
use std::{collections::HashMap, env, fs, iter::FromIterator};
#[cfg(feature = "notmuch")]
use himalaya::{
backends::{Backend, MaildirBackend, NotmuchBackend, NotmuchEnvelopes},
config::{AccountConfig, MaildirBackendConfig, NotmuchBackendConfig},
};
#[cfg(feature = "notmuch")]
#[test]
fn test_notmuch_backend() {
// set up maildir folders and notmuch database