mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Reorganize handling of task data
This abandons field-by-field compatibility with the TaskWarrior TDB2 format, which wasn't a sustainable strategy anyway. Instead, tasks are represented as a TaskMap with custom key formats. In this commit, there are only a few allowed keys, with room to grow. Replica returns convenience wrappers Task (read-only) and TaskMut (read-write) with getters and setters to make modifying tasks easier.
This commit is contained in:
parent
c2c2a00ed5
commit
634aaadb73
10 changed files with 276 additions and 490 deletions
|
@ -13,7 +13,6 @@ failure = {version = "0.1.5", features = ["derive"] }
|
|||
clap = "~2.33.0"
|
||||
kv = {version = "0.10.0", features = ["msgpack-value"]}
|
||||
lmdb-rkv = {version = "0.12.3"}
|
||||
itertools = "0.9.0"
|
||||
|
||||
[dev-dependencies]
|
||||
proptest = "0.9.4"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue