Crates.io | todo-txt |
lib.rs | todo-txt |
version | 3.1.0 |
source | src |
created_at | 2017-12-04 13:08:06.921186 |
updated_at | 2023-07-11 07:26:05.193105 |
description | Parser for the todo.txt format |
homepage | |
repository | https://github.com/sanpii/todo-txt |
max_upload_size | |
id | 41685 |
size | 63,032 |
Parser for the todo.txt format.
Add it to your dependencies:
[dependencies]
todo-txt = "3.0"
And use it:
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);
}
serde-support
: (De)serialization with serde. See
serialization.rs.extended
: Provide a non-standard extended task type who provides common
extra features like recurrence.