meli/melib/src/lib.rs

52 lines
1.3 KiB
Rust
Raw Normal View History

/*
* meli - lib.rs
*
* Copyright 2017 Manos Pitsidianakis
*
* This file is part of meli.
*
* meli is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* meli is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with meli. If not, see <http://www.gnu.org/licenses/>.
*/
2019-03-14 12:19:25 +02:00
pub mod addressbook;
2018-08-07 15:01:15 +03:00
pub mod async;
pub mod conf;
pub mod error;
2018-07-27 21:37:56 +03:00
pub mod mailbox;
#[macro_use]
extern crate serde_derive;
/* parser */
#[macro_use]
extern crate nom;
extern crate chrono;
2018-07-24 20:20:32 +03:00
extern crate data_encoding;
2018-07-27 21:37:56 +03:00
extern crate encoding;
extern crate memmap;
2018-08-03 13:46:08 +03:00
#[macro_use]
extern crate chan;
#[macro_use]
extern crate bitflags;
2019-02-15 09:06:42 +02:00
extern crate fnv;
2019-03-14 12:19:25 +02:00
extern crate uuid;
2017-09-28 18:06:35 +03:00
pub use conf::*;
2018-07-27 21:37:56 +03:00
pub use mailbox::*;
2017-09-28 18:06:35 +03:00
2018-07-27 21:37:56 +03:00
pub use error::{MeliError, Result};
pub use mailbox::backends::{Backends, RefreshEvent, RefreshEventConsumer};
2017-10-01 17:31:20 +03:00
pub use mailbox::email::{Envelope, Flag};
2019-02-15 09:06:42 +02:00
pub use addressbook::*;