Add optional 'jmap' feature in binary Cargo.toml.

This commit is contained in:
Manos Pitsidianakis 2019-12-13 00:39:56 +02:00
parent 2ed9ffb145
commit 41a4de394a
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710
2 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,7 @@ members = ["melib", "ui", "debug_printer", "testing", "text_processing"]
[features]
default = []
notmuch = ["melib/notmuch_backend", "ui/notmuch"]
jmap = ["melib/jmap_backend",]
# Print tracing logs as meli runs in stderr
# enable for debug tracing logs: build with --features=debug-tracing

9
README
View File

@ -65,6 +65,15 @@ To build with notmuch support, prepend the environment variable "MELI_FEATURES='
or if building directly with cargo, use the flag '--features="notmuch"'.
BUILDING WITH JMAP
=====================
To build with JMAP support, prepend the environment variable "MELI_FEATURES='jmap'" to your make invocation:
# MELI_FEATURES="jmap" make
or if building directly with cargo, use the flag '--features="jmap"'.
DEVELOPMENT
===========