work 0.4.2

A simple cli todo manager
#[derive(Debug)]
pub struct Event {
    pub id: Option<i32>,
    pub summary: String,
    pub done: bool,
}

impl Event {
    pub fn new(summary: String) -> Self {
        Event {
            id: None,
            summary: summary,
            done: false,
        }
    }
    pub fn new_from_db(id: Option<i32>, summary: String, done: bool) -> Self {
        Event {
            id: id,
            summary: summary,
            done: done,
        }
    }
}

impl PartialEq for Event {
    fn eq(&self, other: &Self) -> bool {
        self.done == other.done && self.summary == other.summary
    }
}