canon_codec 0.1.4
canon_codec: ^0.1.4 copied to clipboard
Strict, const, bidirectional value<->string codecs — the shared id/segment codec for the canon ecosystem.
0.1.4 #
- Add
Codec.composite/CompositeCodec— 2–16 parts, one token, record value. - Add the
|codec-union operator (UnionCodec) — first-match-wins alternation.
0.1.3 #
- Add
Codec.literal(fixed-segment) andCodec.regexcodecs.
0.1.2 #
- Add
Codec.email— lenientlocal@domain.tldvalidation.
0.1.1 #
Record2Codec/Record3Codec/CsvCodecare now public,const-constructible classes (theCodec.recordN/Codec.csvstatics still return them), so a record/csv codec can be an enum-constant id.
0.1.0 #
- Initial release: strict const
Codec<T>(value <-> string) with built-ins (string, integer, number, uuid, username, date, enumValues, csv, raw),record2/record3combinators,NameableCodecname override, and the repeated-keylistcarrier. Lifted from canon_link as the shared codec leaf.