duesee / duesee/imap-codec

refactor/question: Representation of `metadata::Entry`

Open
#449 0 comments 0 reactions 0 assignees View on GitHub
chore enhancement question
Dominant language
Rust
Stars
52
Forks
25
Avg merge
21h 53m
Merged PRs (30d)
2

Description

Currently, an `Entry` is basically an `AString`. However, the RFC has more to say in prose about entries.

> * Each annotation is an entry that has a hierarchical name, with each component of the name separated by a slash ("/"). An entry name MUST NOT contain two consecutive "/" characters and MUST NOT end with a "/" character.
> * Entry names MUST NOT contain asterisk ("*") or percent ("%") characters and MUST NOT contain non-ASCII characters or characters with octet values in the range 0x00 to 0x19.
> * Entry names are case-insensitive.
> * All entries MUST have either "/shared" or "/private" as a prefix. Entry names MUST be specified in a Standards Track or IESG-approved Experimental RFC, or fall under the vendor namespace (i.e., use /shared/vendor/ or /private/vendor/ as the prefix).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.