ws-arch: codecs/Zstd (RFC 8878 decoder from the spec: frames, skippable frames, raw/RLE/compressed blocks, Huffman literals, FSE tables, repeat offsets, XXH64 checksum on 32-bit halves) + archive/zst (single-stream archive); tests against the zstd CLI on both runtimes

This commit is contained in:
4DBug committed 2026-10-31 08:36:24 -05:00
1 parent 0ca32501a4
commit 45cc667083
9 files changed
+1591

No files matched your search

+12
View File
@@ -26,6 +26,18 @@ local list: { Entry } = {
return require("@formats/image/png")
end,
},
{
name = "zst",
category = "archive",
path = "archive/zst",
extensions = { "zst", "tzst" },
mime = { "application/zstd" },
deps = { "core/Err", "core/Bytes", "codecs/Zstd", "containers/Archive" },
caps = { decode = true, encode = false, stream = true },
load = function()
return require("@formats/archive/zst")
end,
},
}
return list