RFC 8141 URN Support

Summary

Implement RFC 8141 Uniform Resource Names parsing.

Status

✅ COMPLETED

Implementation

  • Parse URN scheme
  • Parse NID (Namespace Identifier)
  • Parse NSS (Namespace Specific String)
  • Parse r-component (?+...)
  • Parse q-component (?=...)
  • Parse f-component (#...)
  • UrnComponents struct
  • isUrn() method

Files

  • src/uri.zig - UrnComponents, parseUrn()