mail_internals_ng/
lib.rs

1//! Provides some internal functionality for the `mail` crate.
2#![recursion_limit="256"]
3extern crate failure;
4#[macro_use]
5extern crate nom;
6extern crate chrono;
7extern crate media_type;
8extern crate soft_ascii_string;
9extern crate base64;
10extern crate quoted_printable;
11extern crate idna;
12extern crate quoted_string;
13extern crate media_type_impl_utils;
14extern crate percent_encoding;
15extern crate vec1;
16
17//NOTE: this would be worth it's own independent crate for utility macros
18#[macro_use]
19mod macros;
20#[macro_use]
21pub mod utils;
22mod mail_type;
23#[macro_use]
24pub mod error;
25pub mod grammar;
26//NOTE: encoder is in the order _above_ bind, i.e. bind can import the encoder,
27//  but the encoder should not import anything from bind!
28#[cfg_attr(test, macro_use)]
29pub mod encoder;
30pub mod bind;
31
32pub use self::mail_type::*;
33
34#[cfg(all(test, not(feature="traceing")))]
35compile_error! { "testing needs feature `traceing` to be enabled" }
36
37//reexports for exported macros
38#[doc(hidden)]
39pub use failure::Error as __FError;