Skip to main content

Crate xtask_todo_lib

Crate xtask_todo_lib 

Source
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-devshell binary, exposed so tests can cover it.

Structs§

InMemoryStore
In-memory store using a map and a monotonic id counter.
ListFilter
Filter criteria for listing todos.
ListOptions
Options for list (filter + sort).
Todo
A single todo item.
TodoId
Unique identifier for a todo item. Opaque; use for completion and deletion.
TodoList
Facade for todo operations. Holds a store (default: in-memory).
TodoPatch
Partial update for a todo; only Some fields are applied. When repeat_rule_clear is true, repeat_rule is set to None (e.g. for CLI --clear-repeat-rule).

Enums§

ListSort
Sort order for listing.
Priority
Priority for a todo item.
RepeatRule
Recurrence rule for repeating tasks.
TodoError
Errors from todo operations.

Traits§

Store
Backing store for todo items. Implementations may be in-memory or persistent.