Todo-txt
Parser for the todo.txt format.
Usage
Add it to your dependencies:
[]
= "^1.0"
And use it:
extern crate todo_txt;
use FromStr;
Parser for the todo.txt format.
Add it to your dependencies:
[dependencies]
todo-txt = "^1.0"
And use it:
extern crate todo_txt;
use ::std::str::FromStr;
fn main()
{
let line = "x (A) 2016-05-20 2016-04-30 measure space for +chapelShelving @chapel due:2016-05-30";
let task = ::todo_txt::Task::from_str(line);
println!("{:#?}", task);
}