Repository navigation
v0.3.0
Fixed
- README: the Sponsor QR image now uses an absolute
raw.githubusercontent.comURL instead of the relativedocs/images/sponsor-qr.pngpath so it renders both on GitHub and on the Hex package page (relative paths in the README cannot be resolved against the published package archive, which omits thedocs/images/directory). (#23) DataExceedsCapacity(bits_needed, bits_available)now carries informative non-zero fields in the Micro QRfind_version, rMQRfind_version, and Standardencode_splitbailout paths. The three "no symbol in this family fits" code paths previously returnedDataExceedsCapacity(0, 0), undermining the error type's documented purpose of telling callers how far over the ceiling their payload is; they now report the encoded-bit count vs the largest symbol's capacity (M4, R17×139, and 16 shards × max-version respectively), matching the Standard QR path's existing behaviour. (#22)qrkit/content.emailnow keeps the addr-spec@separator (and the RFC 6068 §2some-delimsset:!,$,',(,),*,+,;,:,,) literal in thetofield instead of percent-encoding everything viauri.percent_encode. Thetofield gets a narrower encoder that only escapes characters that would actually break URI parsing in this position (space,?,&,#,<,>, control bytes, non-ASCII);subject/bodykeep the wider RFC 3986 encoding. The previous behaviour producedmailto:user%40example.com?..., breaking canonical-form matching in some Android QR-handler whitelists. (#21)
Install
gleam add qrkitSee HexDocs for the API
reference.