openpgp: Add non-allocating accessors for parsed User ID components.
-
Now that we use OnceCell for the cache, we can hand out references to the cached data. This closes the gap between UserID and ConventionallyParsedUserID, hence I think this addresses the concern in #377 (closed).
-
Deprecate the allocating variants.
-
Fixes #377 (closed).
@nwalfield do you agree that this addresses #377 (closed)? If not, what do you envision?