diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-03-02 21:25:48 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-03-02 21:25:48 +0100 |
commit | 8c37fb865abf30d8942c44182f95c172934a6fdd (patch) | |
tree | f919ee80412b64296b37a148cdbe3126b37c3395 /lib/domain/libimagdiary/Cargo.toml | |
parent | ef3b60eea57356efd4871cc44f43aaad346ac196 (diff) |
Rebuild DiaryEntryIterator to be based on StoreIdIterator
This patch rebuilds DiaryEntryIterator to be a wrapper around
StoreIdIterator and thus `Diary::entries()` to use `Store::entries` and
not `Store::retrieve_for_module()`.
The `Store::retrieve_for_module()` function is somehow buggy and loads
contents of the files into memory and _somehow_ causes the entries to be
rewritten without newlines.
This bug is fixed by moving away from `Store::retrieve_for_module()`.
Diffstat (limited to 'lib/domain/libimagdiary/Cargo.toml')
-rw-r--r-- | lib/domain/libimagdiary/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/domain/libimagdiary/Cargo.toml b/lib/domain/libimagdiary/Cargo.toml index d8f2e51a..1a07c17e 100644 --- a/lib/domain/libimagdiary/Cargo.toml +++ b/lib/domain/libimagdiary/Cargo.toml @@ -26,6 +26,7 @@ toml = "0.4" toml-query = "0.6" itertools = "0.7" error-chain = "0.11" +filters = "0.2" libimagstore = { version = "0.7.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.7.0", path = "../../../lib/core/libimagerror" } |