diff --git a/Directory.Build.props b/Directory.Build.props index 5010526..1193e2f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 1.0.0-beta-01 + 1.0.0 王海波 王海波 https://github.com/xfrogcn/Xfrogcn.BinaryFormatter @@ -10,7 +10,9 @@ - Xfrogcn BinaryFormatter + BinarySerializer + BinarySerializer + High performance binary serialization libraries MIT @@ -19,6 +21,7 @@ xfrogcn@163.com true + snupkg diff --git a/README.md b/README.md index c82f8a0..9e6ae93 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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. diff --git a/src/BinaryFormatter/Xfrogcn.BinaryFormatter.csproj b/src/BinaryFormatter/Xfrogcn.BinaryFormatter.csproj index a1591e0..5d81f6a 100644 --- a/src/BinaryFormatter/Xfrogcn.BinaryFormatter.csproj +++ b/src/BinaryFormatter/Xfrogcn.BinaryFormatter.csproj @@ -2,6 +2,9 @@ 9.0 + BinarySerializer + true + https://github.com/xfrogcn/Xfrogcn.BinaryFormatter/blob/master/README.md diff --git a/test/BinaryFormatter.Benchmark/BinaryVsJson.cs b/test/BinaryFormatter.Benchmark/BinaryVsJson.cs index 266b7f4..704d3cf 100644 --- a/test/BinaryFormatter.Benchmark/BinaryVsJson.cs +++ b/test/BinaryFormatter.Benchmark/BinaryVsJson.cs @@ -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; diff --git a/test/BinaryFormatter.Tests/Xfrogcn.BinaryFormatter.Tests.csproj b/test/BinaryFormatter.Tests/Xfrogcn.BinaryFormatter.Tests.csproj index a080317..877d20c 100644 --- a/test/BinaryFormatter.Tests/Xfrogcn.BinaryFormatter.Tests.csproj +++ b/test/BinaryFormatter.Tests/Xfrogcn.BinaryFormatter.Tests.csproj @@ -4,6 +4,8 @@ net5.0 false + + false