melib: rename `mbox_backend` feature to `mbox`
parent
fe7dcc508e
commit
e9f09a153c
|
@ -70,7 +70,7 @@ mailin-embedded = { version = "0.7", features = ["rtls"] }
|
|||
stderrlog = "^0.5"
|
||||
|
||||
[features]
|
||||
default = ["unicode_algorithms", "imap", "maildir", "mbox_backend", "vcard", "smtp", "deflate_compression"]
|
||||
default = ["unicode_algorithms", "imap", "maildir", "mbox", "vcard", "smtp", "deflate_compression"]
|
||||
|
||||
debug-tracing = []
|
||||
deflate_compression = ["flate2", "imap-codec/ext_compress"]
|
||||
|
@ -80,7 +80,7 @@ http-static = ["isahc", "isahc/static-curl"]
|
|||
imap = ["imap-codec", "tls"]
|
||||
jmap_backend = ["http"]
|
||||
maildir = ["notify"]
|
||||
mbox_backend = ["notify"]
|
||||
mbox = ["notify"]
|
||||
notmuch = []
|
||||
smtp = ["tls", "base64"]
|
||||
smtp-trace = ["smtp"]
|
||||
|
|
|
@ -12,7 +12,7 @@ Library for handling mail.
|
|||
| `deflate_compression` | `flate2` | for use with IMAP |
|
||||
| `jmap_backend` | `isahc`, `native-tls`, `serde_json` | |
|
||||
| `maildir` | `notify` | |
|
||||
| `mbox_backend` | `notify` | |
|
||||
| `mbox` | `notify` | |
|
||||
| `notmuch` | `notify` | |
|
||||
| `sqlite` | `rusqlite` | used in IMAP cache |
|
||||
| `unicode_algorithms` | `unicode-segmentation` | linebreaking algo etc |
|
||||
|
|
|
@ -34,7 +34,7 @@ pub use self::notmuch::NotmuchDb;
|
|||
pub mod jmap;
|
||||
#[cfg(feature = "maildir")]
|
||||
pub mod maildir;
|
||||
#[cfg(feature = "mbox_backend")]
|
||||
#[cfg(feature = "mbox")]
|
||||
pub mod mbox;
|
||||
use std::{
|
||||
any::Any,
|
||||
|
@ -54,7 +54,7 @@ use futures::stream::Stream;
|
|||
pub use self::imap::ImapType;
|
||||
#[cfg(feature = "maildir")]
|
||||
use self::maildir::MaildirType;
|
||||
#[cfg(feature = "mbox_backend")]
|
||||
#[cfg(feature = "mbox")]
|
||||
use self::mbox::MboxType;
|
||||
#[cfg(feature = "imap")]
|
||||
pub use self::nntp::NntpType;
|
||||
|
@ -161,7 +161,7 @@ impl Backends {
|
|||
},
|
||||
);
|
||||
}
|
||||
#[cfg(feature = "mbox_backend")]
|
||||
#[cfg(feature = "mbox")]
|
||||
{
|
||||
b.register(
|
||||
"mbox".to_string(),
|
||||
|
|
Loading…
Reference in New Issue