Crate todo_txter

Crate todo_txter 

Source
Expand description

An implementation of the todo.txt format.

The typical workflow is to read in a line from a todo file and call Task::new, perform some action on the Task, and then to write it back using Task::to_string. For example:

let example = "Document this crate".to_string();
let mut task = todo_txter::Task::new(&example);

task.projects.push("rust".to_string());
task.is_complete = true;

assert_eq!(task.to_string(), "x Document this crate +rust".to_string());

Structsยง

Task
A task.