zig-ulid
zig-ulid copied to clipboard
remove Allocator parameter from ULID.parse
if we already know that the length of an ULID is always 26 characters, why would we need the allocator for decoding it?
also fixes zig-ulid for latest zig changes (as ArrayList.toOwnedSlice() can return an error now)
I didn't notice that ULID has custom struct binding for zig-sqlite through bindField and readField, so https://github.com/vrischmann/zig-sqlite/issues/117 is a dependency for this.
if you know a function is going to do _ = allocator; then you can pass undefined for that parameter if you're using this outside the binding