Expand description
todo - workspace library
Todo domain: create, list, complete, delete items with in-memory or pluggable storage.
Also includes the devshell REPL/VFS logic used by the cargo-devshell binary (for test coverage).
Modules§
- devshell
- Devshell REPL and VFS: same logic as the
cargo-devshellbinary, exposed so tests can cover it.
Structs§
- InMemory
Store - In-memory store using a map and a monotonic id counter.
- List
Filter - Filter criteria for listing todos.
- List
Options - Options for list (filter + sort).
- Todo
- A single todo item.
- TodoId
- Unique identifier for a todo item. Opaque; use for completion and deletion.
- Todo
List - Facade for todo operations. Holds a store (default: in-memory).
- Todo
Patch - Partial update for a todo; only
Somefields are applied. Whenrepeat_rule_clearis true,repeat_ruleis set to None (e.g. for CLI--clear-repeat-rule).
Enums§
- List
Sort - Sort order for listing.
- Priority
- Priority for a todo item.
- Repeat
Rule - Recurrence rule for repeating tasks.
- Todo
Error - Errors from todo operations.
Traits§
- Store
- Backing store for todo items. Implementations may be in-memory or persistent.