[−][src]Crate task_hookrs
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 | Definitions for error handling with failure |
| import | Module containing the |
| priority | Module containing TaskPriority types and trait impls |
| project | Module containing |
| status | Module containing |
| tag | Module containing |
| task | Module containing |
| tw | This module offers functions to interact with taskwarrior. This will expect the |
| uda | Module containing the types for User Defined Attributes (UDA) |