doing-taskpaper (0.4.1)
Installation
[registries.forgejo]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add [email protected] --registry forgejoAbout this package
TaskPaper document parser and serializer for the doing CLI
doing-taskpaper
TaskPaper document parser and serializer for the doing CLI.
This crate provides the document model for doing files: sections, entries with timestamps and tags, notes, and the parser/serializer that round-trips the on-disk format. It also handles atomic file I/O for doing files.
Usage
use doing_taskpaper::{Document, Entry, Section, Tags, Note};
// Parse a doing file
let content = std::fs::read_to_string("what_was_i_doing.md").unwrap();
let doc = Document::parse(&content);
for section in doc.sections() {
println!("{}:", section.title());
for entry in section.entries() {
println!(" {} - {}", entry.date().format("%H:%M"), entry.title());
}
}
License
MIT — see LICENSE for details.
Dependencies
| ID | Version |
|---|---|
| chrono | ^0.4 |
| doing-error | ^0.1.2 |
| md5 | ^0.8 |
| regex | ^1 |
| tempfile | ^3 |
| pretty_assertions | ^1 |
Keywords
cli
doing
taskpaper
parser
Details
2026-11-20 03:19:30 +00:00
2026-11-20 12:21:33 +00:00
Assets (1)
Versions (13)
View all
Cargo
1
MIT
21 KiB
doing-taskpaper-0.4.1.crate
21 KiB