Skip to content

Commit

Permalink
publish 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xfrogcn committed Jan 7, 2021
1 parent 7b5dc44 commit c062d9f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 5 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<PackageVersion>1.0.0-beta-01</PackageVersion>
<PackageVersion>1.0.0</PackageVersion>
<Authors>王海波</Authors>
<Copyright>王海波</Copyright>
<RepositoryUrl>https://github.com/xfrogcn/Xfrogcn.BinaryFormatter</RepositoryUrl>
Expand All @@ -10,7 +10,9 @@
</PropertyGroup>

<PropertyGroup>
<Product>Xfrogcn BinaryFormatter</Product>
<Product>BinarySerializer</Product>
<Title>BinarySerializer</Title>
<Description>High performance binary serialization libraries</Description>

<!-- The SPDX name for the source license. See https://spdx.org/licenses/. -->
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand All @@ -19,6 +21,7 @@
<MaintainerEmail>[email protected]</MaintainerEmail>

<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\package-icon.png">
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# High Performance Binary Serialization Libraries

[中文](README.zh.md) | [Quick Start](doc/GettingStart.Md) | [Support Types](doc/SupportTypes.Md)
[中文](README.zh.md) | [Quick Start](doc/GettingStart.md) | [Support Types](doc/SupportTypes.md)

Xfrogcn BinaryFormatter is a high performance binary serialization libraries in .NET, it through the Span and Emit to achieve high performance, BinarySerializer uses an API interface that is consistent with System.Text.JSON, so easy to use.

Expand Down Expand Up @@ -72,7 +72,7 @@ Intel Core i7-7500U CPU 2.70GHz (Kaby Lake), 1 CPU, 4 logical and 2 physical cor
| Json_Bytes | 80.13 μs | 1.572 μs | 1.989 μs |
| `XfrogcnBinary_Bytes` | 92.14 μs | 1.814 μs | 3.623 μs |

## solve the problem of dynamic loading assemblies
## Solve the problem of dynamic loading assemblies

If the serialization type in dynamically loaded assembly, encapsulating and serialization methods in the dynamic loading assemblies, .NET official BinaryFormatter serialization libraries cannot deserialize, will trigger a assembly errors cannot be found.

Expand Down
3 changes: 3 additions & 0 deletions src/BinaryFormatter/Xfrogcn.BinaryFormatter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

<PropertyGroup>
<LangVersion>9.0</LangVersion>
<Product>BinarySerializer</Product>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/xfrogcn/Xfrogcn.BinaryFormatter/blob/master/README.md</PackageProjectUrl>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion test/BinaryFormatter.Benchmark/BinaryVsJson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using BF = System.Runtime.Serialization.Formatters.Binary.BinaryFormatter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFramework>net5.0</TargetFramework>

<IsPackable>false</IsPackable>

<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit c062d9f

Please sign in to comment.