mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-17 03:26:20 +00:00
melib: rename jmap_backend
feature to jmap
This commit is contained in:
parent
e9f09a153c
commit
7db930cabd
@ -73,7 +73,7 @@ tempfile = "3.3"
|
||||
[features]
|
||||
default = ["sqlite3", "notmuch", "regexp", "smtp", "dbus-notifications", "gpgme", "cli-docs", "jmap"]
|
||||
notmuch = ["melib/notmuch", ]
|
||||
jmap = ["melib/jmap_backend",]
|
||||
jmap = ["melib/jmap",]
|
||||
sqlite3 = ["melib/sqlite3"]
|
||||
smtp = ["melib/smtp"]
|
||||
regexp = ["pcre2"]
|
||||
|
@ -78,7 +78,7 @@ gpgme = []
|
||||
http = ["isahc"]
|
||||
http-static = ["isahc", "isahc/static-curl"]
|
||||
imap = ["imap-codec", "tls"]
|
||||
jmap_backend = ["http"]
|
||||
jmap = ["http"]
|
||||
maildir = ["notify"]
|
||||
mbox = ["notify"]
|
||||
notmuch = []
|
||||
|
@ -10,7 +10,7 @@ Library for handling mail.
|
||||
| ---------------------- | ----------------------------------- | ------------------------ |
|
||||
| `imap` | `native-tls` | |
|
||||
| `deflate_compression` | `flate2` | for use with IMAP |
|
||||
| `jmap_backend` | `isahc`, `native-tls`, `serde_json` | |
|
||||
| `jmap` | `isahc`, `native-tls`, `serde_json` | |
|
||||
| `maildir` | `notify` | |
|
||||
| `mbox` | `notify` | |
|
||||
| `notmuch` | `notify` | |
|
||||
|
@ -30,7 +30,7 @@ pub mod nntp;
|
||||
pub mod notmuch;
|
||||
#[cfg(feature = "notmuch")]
|
||||
pub use self::notmuch::NotmuchDb;
|
||||
#[cfg(feature = "jmap_backend")]
|
||||
#[cfg(feature = "jmap")]
|
||||
pub mod jmap;
|
||||
#[cfg(feature = "maildir")]
|
||||
pub mod maildir;
|
||||
@ -198,7 +198,7 @@ impl Backends {
|
||||
},
|
||||
);
|
||||
}
|
||||
#[cfg(feature = "jmap_backend")]
|
||||
#[cfg(feature = "jmap")]
|
||||
{
|
||||
b.register(
|
||||
"jmap".to_string(),
|
||||
|
@ -649,7 +649,7 @@ impl From<isahc::Error> for Error {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "jmap_backend")]
|
||||
#[cfg(feature = "jmap")]
|
||||
impl From<serde_json::error::Error> for Error {
|
||||
#[inline]
|
||||
fn from(kind: serde_json::error::Error) -> Self {
|
||||
|
Loading…
Reference in New Issue
Block a user