1.3 KiB
1.3 KiB
| cairn | change |
|---|---|
| tasks | maildir-custom-keywords |
Tasks
- io-maildir: add
MaildirFlags::with_keywords(I/O-free) and resolve an entry's keywords on every client read path, the Maildir now being an argument; carry the result onMaildirFullEntry::flags. - src/config.rs: add the
maildir.keywords.dovecotandmaildir.keywords.headerfields, with a localMaildirKeywordHeaderConfigmirror so the config schema keeps compiling under every feature subset. - src/maildir/client.rs: convert the mirror into io-maildir's
KeywordHeaderand set both options on the inner client, covering the CLI and shared construction sites at once. - src/maildir/backend.rs: drop
parse_filename_flagsandflag_from_char, readMaildirFullEntry::flagsand map each one onto the sharedFlag. - Document both options in config.sample.toml and the changelog, the
flag setloss included. - Test what is left here: the flag mapping both ways, and the envelope carrying what the entry was read with. The keyword resolution itself is tested upstream.
- Build/test/fmt/clippy, including the reduced feature builds.
- Fold into cairn/spec/backends.md; log; land.
- Publish io-maildir 0.3 (prepared), then drop the
[patch.crates-io]block standing in for it. - himalaya-tui reads entries through the same API: bump it once 0.3 is out.