[][src]Crate melib

A crate that performs mail client operations such as

  • Hold an Envelope with methods convenient for mail client use. (see module email)
  • Abstract through mail storages through the MailBackend trait, and handle read/writes/updates through it. (see module backends)
  • Decode attachments (see module email::attachments)
  • Create new mail (see email::Draft)
  • Send mail with an SMTP client (see module smtp)
  • Manage an addressbook i.e. have contacts (see module addressbook)
  • Build thread structures out of a list of mail via their In-Reply-To and References header values (see module thread)

Other exports are

  • Basic mail account configuration to use with backends (see module conf)
  • Parser combinators (see module parsec)
  • A ShellExpandTrait to expand paths like a shell.
  • A debug macro that works like std::dbg but for multiple threads. (see debug macro)

Re-exports

pub extern crate nom;
pub extern crate futures;
pub extern crate indexmap;
pub extern crate smallvec;
pub extern crate smol;
pub extern crate uuid;
pub extern crate xdg_utils;
pub use datetime::UnixTimestamp;
pub use self::logging::LoggingLevel::*;
pub use addressbook::*;
pub use backends::*;
pub use conf::*;
pub use email::*;
pub use crate::error::*;
pub use thread::*;
pub use shellexpand::ShellExpandTrait;

Modules

addressbook
backends
conf

Basic mail account configuration to use with backends

connections

Connections layers (TCP/fd/TLS/Deflate) to use with remote backends.

datetime

Functions for dealing with date strings and UNIX Epoch timestamps.

dbg
email

Email parsing and composing.

error

An error object for melib

parsec

Parser combinators.

search
shellexpand
smtp

SMTP client support

sqlite3
text_processing
thread

e-mail threading (conversations)

Macros

big_if_true
debug
get_conf_val
get_path_hash
log_tag
make_address
tag_hash

Structs

Collection
EnvelopeRef
EnvelopeRefMut
RwRef

Enums

LoggingLevel

Functions

change_log_dest
change_log_level
get_log_level
log