WIP commit

embed
Manos Pitsidianakis 2018-08-25 11:55:27 +03:00
parent c415a5aae3
commit c01d15b19f
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
2 changed files with 18 additions and 0 deletions

View File

@ -20,6 +20,21 @@
*/
use super::*;
use fnv::FnvHashMap;
struct Draft {
headers: FnvHashMap<String, String>,
body: String,
}
impl Default for Draft {
fn default() -> Self {
Draft {
headers: FnvHashMap::with_capacity_and_hasher(8, Default::default()),
body: String::new(),
}
}
}
#[derive(Debug)]
pub struct Composer {

View File

@ -54,6 +54,9 @@ use execute::*;
pub mod state;
pub use state::*;
mod compose;
pub(crate) use compose::*;
pub mod components;
pub use components::*;