mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #949] [CLOSED] Move ZstdSharp into SharpCompress #1364
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/949
Author: @adamhathcock
Created: 10/13/2025
Status: ❌ Closed
Base:
master← Head:adam/zstd📝 Commits (7)
5b5336fadd first pass of zstdsharp into library. Full fat framework doesn't compile. Marked lib as not CLS compliant again999af80add more non legacy stuffb545973stuff compiles now0a7ffd0ran formatting906baf1fix namespacesee2cbc8fmtb010cceMerge branch 'master' into adam/zstd📊 Changes
254 files changed (+57493 additions, -1873 deletions)
View changed files
📝
Directory.Packages.props(+2 -2)📝
src/SharpCompress/AssemblyInfo.cs(+1 -1)📝
src/SharpCompress/Common/Arc/ArcEntry.cs(+29 -30)📝
src/SharpCompress/Common/Arc/ArcEntryHeader.cs(+57 -58)📝
src/SharpCompress/Common/Arc/ArcFilePart.cs(+41 -49)📝
src/SharpCompress/Common/Arc/ArcVolume.cs(+5 -6)📝
src/SharpCompress/Common/Zip/ZipFilePart.cs(+1 -1)📝
src/SharpCompress/Compressors/Filters/DeltaFilter.cs(+24 -25)📝
src/SharpCompress/Compressors/LZMA/Registry.cs(+1 -1)📝
src/SharpCompress/Compressors/Lzw/LzwConstants.cs(+50 -51)📝
src/SharpCompress/Compressors/Lzw/LzwStream.cs(+509 -512)📝
src/SharpCompress/Compressors/RLE90/RLE.cs(+34 -35)📝
src/SharpCompress/Compressors/RLE90/RunLength90Stream.cs(+59 -60)📝
src/SharpCompress/Compressors/Shrink/BitStream.cs(+61 -62)📝
src/SharpCompress/Compressors/Shrink/HwUnshrink.cs(+331 -332)📝
src/SharpCompress/Compressors/Squeezed/SqueezedStream.cs(+99 -100)➕
src/SharpCompress/Compressors/ZStandard/BitOperations.cs(+311 -0)➕
src/SharpCompress/Compressors/ZStandard/CompressionStream.cs(+301 -0)➕
src/SharpCompress/Compressors/ZStandard/Compressor.cs(+204 -0)➕
src/SharpCompress/Compressors/ZStandard/Constants.cs(+8 -0)...and 80 more files
📄 Description
I think the authors have little interest in this: https://github.com/oleg-st/ZstdSharp/issues/36
The biggest hurdle found so far is that there is a lot of unsafe/native usage that is probably incompatible with AOT. I know work was done to make everything CLSCompliant.
I'm ignoring big issues but might also rethink what targets there are. The legacy framework targets are slowing things down too.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.