Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Mutuduxf committed Oct 8, 2024
1 parent a34bfbf commit 97377f5
Show file tree
Hide file tree
Showing 13 changed files with 49 additions and 56 deletions.
22 changes: 10 additions & 12 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@

Aoxe.Compression 提供了以下实现:

| Compressor | Package | Reference |
|:----------:|:-------------------------------------------:|:-----------------------------------:|
| Brotli | Aoxe.Brotli / Aoxe.SystemIoCompression | Brotli.NET / System.IO.Compression |
| LZ4 | Aoxe.LZ4 | K4os.Compression.LZ4 |
| LZMA | Aoxe.LZMA | LZMA-SDK |
| BZip2 | Aoxe.SharpZipLib | SharpZipLib |
| Deflate | Aoxe.SharpZipLib / Aoxe.SystemIoCompression | SharpZipLib / System.IO.Compression |
| GZip | Aoxe.SharpZipLib / Aoxe.SystemIoCompression | SharpZipLib / System.IO.Compression |
| Snappy | Aoxe.Snappy | IronSnappy |
| ZLib | Aoxe.SystemIoCompression | System.IO.Compression |
| XZ | Aoxe.XZ | XZ.NET-netstandard |
| Zstd | Aoxe.Zstd | ZstdNet |
| Package | Compressor | Reference |
|:------------------------:|:----------------------------------:|:---------------------:|
| Aoxe.Brotli | Brotli | Brotli.NET |
| Aoxe.LZ4 | LZ4 | K4os.Compression.LZ4 |
| Aoxe.LZMA | LZMA | LZMA-SDK |
| Aoxe.SharpZipLib | BZip2 / Deflate / GZip / Tar / Zip | SharpZipLib |
| Aoxe.Snappy | Snappy | IronSnappy |
| Aoxe.SystemIoCompression | Brotli / Deflate / GZip / ZLib | System.IO.Compression |
| Aoxe.XZ | XZ | XZ.NET-netstandard |
| Aoxe.Zstd | Zstd | ZstdNet |

## 2. 如何使用 Aoxe.Compression?

Expand Down
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@ There are many compressors in the .NET ecosystem, but they are not easy to use.

The compressors that Aoxe.Compression supports are as follows:

| Compressor | Package | Reference |
|:----------:|:-------------------------------------------:|:-----------------------------------:|
| Brotli | Aoxe.Brotli / Aoxe.SystemIoCompression | Brotli.NET / System.IO.Compression |
| LZ4 | Aoxe.LZ4 | K4os.Compression.LZ4 |
| LZMA | Aoxe.LZMA | LZMA-SDK |
| BZip2 | Aoxe.SharpZipLib | SharpZipLib |
| Deflate | Aoxe.SharpZipLib / Aoxe.SystemIoCompression | SharpZipLib / System.IO.Compression |
| GZip | Aoxe.SharpZipLib / Aoxe.SystemIoCompression | SharpZipLib / System.IO.Compression |
| Snappy | Aoxe.Snappy | IronSnappy |
| ZLib | Aoxe.SystemIoCompression | System.IO.Compression |
| XZ | Aoxe.XZ | XZ.NET-netstandard |
| Zstd | Aoxe.Zstd | ZstdNet |
| Package | Compressor | Reference |
|:------------------------:|:---------------------------------:|:---------------------:|
| Aoxe.Brotli | Brotli | Brotli.NET |
| Aoxe.LZ4 | LZ4 | K4os.Compression.LZ4 |
| Aoxe.LZMA | LZMA | LZMA-SDK |
| Aoxe.SharpZipLib | BZip2 / Deflate / GZip | SharpZipLib |
| Aoxe.Snappy | Snappy | IronSnappy |
| Aoxe.SystemIoCompression | Brotli / Deflate / GZip / ZLib | System.IO.Compression |
| Aoxe.XZ | XZ | XZ.NET-netstandard |
| Aoxe.Zstd | Zstd | ZstdNet |

## 2. How to use Aoxe.Compression?

Expand Down
6 changes: 3 additions & 3 deletions src/Aoxe.Brotli/Aoxe.Brotli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0</TargetFrameworks>
<PackageVersion>2024.4.0</PackageVersion>
<Version>2024.4.0</Version>
<PackageVersion>2024.4.1</PackageVersion>
<Version>2024.4.1</Version>
<Description>Helper and Extensions for BrotliNET.</Description>
<PackageTags>Aoxe;Brotli.NET;Brotli;Compression</PackageTags>
<PackageProjectUrl>https://github.com/AoxeTech</PackageProjectUrl>
Expand All @@ -29,7 +29,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.4" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageVersion>2024.4.2</PackageVersion>
<Version>2024.4.2</Version>
<PackageVersion>2024.4.4</PackageVersion>
<Version>2024.4.4</Version>
<Description>The abstractions for Aoxe.Compressor</Description>
<PackageTags>Aoxe;Compressor;Abstractions</PackageTags>
<PackageProjectUrl>https://github.com/AoxeTech</PackageProjectUrl>
Expand Down
6 changes: 3 additions & 3 deletions src/Aoxe.LZ4/Aoxe.LZ4.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0</TargetFrameworks>
<PackageVersion>2024.4.0</PackageVersion>
<Version>2024.4.0</Version>
<PackageVersion>2024.4.1</PackageVersion>
<Version>2024.4.1</Version>
<Description>Helper and Extensions for K4os.Compression.LZ4.</Description>
<PackageTags>Aoxe;K4os.Compression.LZ4;LZ4;Compression</PackageTags>
<PackageProjectUrl>https://github.com/AoxeTech</PackageProjectUrl>
Expand All @@ -30,7 +30,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Aoxe.LZMA/Aoxe.LZMA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0</TargetFrameworks>
<PackageVersion>2024.4.0</PackageVersion>
<Version>2024.4.0</Version>
<PackageVersion>2024.4.1</PackageVersion>
<Version>2024.4.1</Version>
<Description>Helper and Extensions for LZMA-SDK.</Description>
<PackageTags>Aoxe;LZMA-SDK;LZMA;Compression</PackageTags>
<PackageProjectUrl>https://github.com/AoxeTech</PackageProjectUrl>
Expand All @@ -29,7 +29,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Aoxe.SharpZipLib/Aoxe.SharpZipLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0</TargetFrameworks>
<PackageVersion>2024.4.0</PackageVersion>
<Version>2024.4.0</Version>
<PackageVersion>2024.4.1</PackageVersion>
<Version>2024.4.1</Version>
<Description>Helper and Extensions for SharpZipLib.</Description>
<PackageTags>Aoxe;SharpZipLib;BZip2;GZip;Compression</PackageTags>
<PackageProjectUrl>https://github.com/AoxeTech</PackageProjectUrl>
Expand All @@ -29,7 +29,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="SharpZipLib" Version="1.4.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 0 additions & 6 deletions src/Aoxe.SharpZipLib/BZip2.Helper.cs

This file was deleted.

3 changes: 3 additions & 0 deletions src/Aoxe.SharpZipLib/GlobalUsings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
global using Aoxe.Extensions;
global using ICSharpCode.SharpZipLib.BZip2;
global using ICSharpCode.SharpZipLib.GZip;
global using ICSharpCode.SharpZipLib.Lzw;
global using ICSharpCode.SharpZipLib.Tar;
global using ICSharpCode.SharpZipLib.Zip;
global using ICSharpCode.SharpZipLib.Zip.Compression;
global using ICSharpCode.SharpZipLib.Zip.Compression.Streams;
6 changes: 3 additions & 3 deletions src/Aoxe.Snappy/Aoxe.Snappy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0</TargetFrameworks>
<PackageVersion>2024.4.0</PackageVersion>
<Version>2024.4.0</Version>
<PackageVersion>2024.4.1</PackageVersion>
<Version>2024.4.1</Version>
<Description>Helper and Extensions for IronSnappy.</Description>
<PackageTags>Aoxe;IronSnappy;Snappy;Compression</PackageTags>
<PackageProjectUrl>https://github.com/AoxeTech</PackageProjectUrl>
Expand All @@ -29,7 +29,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Aoxe.SystemIoCompression/Aoxe.SystemIoCompression.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0</TargetFrameworks>
<PackageVersion>2024.4.0</PackageVersion>
<Version>2024.4.0</Version>
<PackageVersion>2024.4.1</PackageVersion>
<Version>2024.4.1</Version>
<Description>Helper and Extensions for System.IO.Compression.</Description>
<PackageTags>Aoxe;System.IO.Compression;Brotli;Deflate;GZip;Compression</PackageTags>
<PackageProjectUrl>https://github.com/AoxeTech</PackageProjectUrl>
Expand All @@ -28,7 +28,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Aoxe.XZ/Aoxe.XZ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0</TargetFrameworks>
<PackageVersion>2024.4.0</PackageVersion>
<Version>2024.4.0</Version>
<PackageVersion>2024.4.1</PackageVersion>
<Version>2024.4.1</Version>
<Description>Helper and Extensions for XZ.NET-netstandard.</Description>
<PackageTags>Aoxe;XZ.NET-netstandard;XZ;Compression</PackageTags>
<PackageProjectUrl>https://github.com/AoxeTech</PackageProjectUrl>
Expand All @@ -29,7 +29,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="XZ.NET-netstandard" Version="2.0.0.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Aoxe.Zstd/Aoxe.Zstd.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0</TargetFrameworks>
<PackageVersion>2024.4.0</PackageVersion>
<Version>2024.4.0</Version>
<PackageVersion>2024.4.1</PackageVersion>
<Version>2024.4.1</Version>
<Description>Helper and Extensions for ZstdNet.</Description>
<PackageTags>Aoxe;ZstdNet;Zstd;Compression</PackageTags>
<PackageProjectUrl>https://github.com/AoxeTech</PackageProjectUrl>
Expand All @@ -29,7 +29,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ZstdNet" Version="1.4.5" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.2" />
<PackageReference Include="Aoxe.Compressor.Abstractions" Version="2024.4.4" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 97377f5

Please sign in to comment.