Skip to content

openpgp: Add non-allocating accessors for parsed User ID components.

Justus Winter requested to merge justus/fix-377 into main
  • 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?

Merge request reports