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:
1 parent
69c69c8264
commit
f5d223245d
9 files changed
+1591
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user