Crate task_hookrs [−] [src]
This crate exports functionality to import and export taskwarrior-compatible JSON by translating the JSON into rust types and vice-versa.
For example:
use std::io::stdin; use task_hookrs::task::Task; use task_hookrs::import::import; if let Ok(tasks) = import(stdin()) { for task in tasks { println!("Task: {}, entered {:?} is {} -> {}", task.uuid(), task.entry(), task.status(), task.description()); } }
Modules
| annotation |
Module containing types and functions for annotations of tasks |
| date |
Module for wrapping chrono::naive::datetime::NaiveDateTime |
| error |
Error module, containing error types |
| import |
Module containing the |
| priority |
Module containing TaskPriority types and trait impls |
| project |
Module containing |
| result |
Module containing |
| status |
Module containing |
| tag |
Module containing |
| task |
Module containing |