| Crates.io | todo-txt |
| lib.rs | todo-txt |
| version | 4.1.1 |
| created_at | 2017-12-04 13:08:06.921186+00 |
| updated_at | 2025-01-14 09:57:28.331239+00 |
| description | Parser for the todo.txt format |
| homepage | |
| repository | https://github.com/todotxt-rs/parser |
| max_upload_size | |
| id | 41685 |
| size | 81,668 |
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);
}
config: Add Config struct to handle configuration like todo.txt-cli;serde: (De)serialization with serde. See
serialization.rs.extended: Provide a non-standard extended task type who provides common
extra features like recurrence.