doing-taskpaper (0.1.3)

Published 2026-11-20 03:14:41 +00:00 by aaron in aaron/doing

Installation

[registries.forgejo]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add [email protected] --registry forgejo

About 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.1
md5 ^0.8
regex ^1
tempfile ^3
pretty_assertions ^1

Keywords

cli doing taskpaper parser
Details
Cargo
2026-11-20 03:14:41 +00:00
0
MIT
22 KiB
Assets (1)
Versions (13) View all
0.4.1 2026-11-20
0.4.0 2026-11-20
0.3.0 2026-11-20
0.2.1 2026-11-20
0.2.0 2026-11-20