zig/lib/std/hash
Andrew Kelley 0e37ff0d59 std.fmt: breaking API changes
added adapter to AnyWriter and GenericWriter to help bridge the gap
between old and new API

make std.testing.expectFmt work at compile-time

std.fmt no longer has a dependency on std.unicode. Formatted printing
was never properly unicode-aware. Now it no longer pretends to be.

Breakage/deprecations:
* std.fs.File.reader -> std.fs.File.deprecatedReader
* std.fs.File.writer -> std.fs.File.deprecatedWriter
* std.io.GenericReader -> std.io.Reader
* std.io.GenericWriter -> std.io.Writer
* std.io.AnyReader -> std.io.Reader
* std.io.AnyWriter -> std.io.Writer
* std.fmt.format -> std.fmt.deprecatedFormat
* std.fmt.fmtSliceEscapeLower -> std.ascii.hexEscape
* std.fmt.fmtSliceEscapeUpper -> std.ascii.hexEscape
* std.fmt.fmtSliceHexLower -> {x}
* std.fmt.fmtSliceHexUpper -> {X}
* std.fmt.fmtIntSizeDec -> {B}
* std.fmt.fmtIntSizeBin -> {Bi}
* std.fmt.fmtDuration -> {D}
* std.fmt.fmtDurationSigned -> {D}
* {} -> {f} when there is a format method
* format method signature
  - anytype -> *std.io.Writer
  - inferred error set -> error{WriteFailed}
  - options -> (deleted)
* std.fmt.Formatted
  - now takes context type explicitly
  - no fmt string
2025-07-07 22:43:51 -07:00
..
crc std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
adler.zig std/hash: add generic tests for idempotency/iterative api 2023-09-02 15:37:49 +12:00
auto_hash.zig all: update to std.builtin.Type.Pointer.Size field renames 2025-01-16 12:46:29 +00:00
benchmark.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
cityhash.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
crc.zig std.hash.crc: simplify api 2024-04-28 21:12:01 +12:00
fnv.zig std/hash: add generic tests for idempotency/iterative api 2023-09-02 15:37:49 +12:00
murmur.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
RapidHash.zig Add rapidhash (#22085) 2025-02-22 14:32:48 -08:00
verify.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
wyhash.zig std.hash.Wyhash: fix dangling stack pointer 2025-05-16 15:28:20 +02:00
xxhash.zig Legalize: implement scalarization of @shuffle 2025-06-01 08:24:01 +01:00