Repository navigation
v0.1.0
The first release. Everything the guide documents ships here.
Added
stdx: extensions to the Zig 0.16 standard library, as one module with a
namespace per idea: fixed-capacity containers, a resizable Swiss hash map,
the orderedbtree, strict parsing, a forward-onlywireformat, base32,
IPv4 and CIDR prefixes, UUIDs, timekeeping, a caller-driven timer set, an
MPSC log ring, and the small pieces (BoundedWriter,hash.RapidHash, the
heap pools,membyte values, secure random, and buffered stdio).btree: an ordered map.btree.Autotakes integer keys,btree.String
takes[]const u8keys, andbtree.Customtakes any key type with a
comparison context. Iteration is in key order.lockPointersmakes an
insertion or removal that invalidates a held pointer assert in Debug and
ReleaseSafe.wire.Reader(.big)andwire.Reader(.little): forward-only decoding of
caller-owned bytes, the inverse ofwire.Writer, with checked andassume
forms.time.writeRfc3339: UTC RFC 3339 text with the fractional width fixed at
comptime, from.secondsthrough.nanoseconds.net.HostPort.parse: splithost,host:port,[host], and[host]:port
config text with a default port.bit_set.Scratch(capacity): a fixed-capacity bitset for reused workspaces;
reset clears only the validity map.heap.SizeClassPool: a fallible byte pool over caller-owned storage, with
per-class live accounting.