todo-txt

Crates.iotodo-txt
lib.rstodo-txt
version3.1.0
sourcesrc
created_at2017-12-04 13:08:06.921186
updated_at2023-07-11 07:26:05.193105
descriptionParser for the todo.txt format
homepage
repositoryhttps://github.com/sanpii/todo-txt
max_upload_size
id41685
size63,032
Sanpi (sanpii)

documentation

README

Todo-txt

Github actions Build Status

Parser for the todo.txt format.

Usage

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);
}

Features

  • serde-support: (De)serialization with serde. See serialization.rs.
  • extended: Provide a non-standard extended task type who provides common extra features like recurrence.
Commit count: 178

cargo fmt