Cysharp / Utf8StringInterpolation

Successor of ZString; UTF8 based zero allocation high-peformance String Interpolation and StringBuilder.
MIT License
157 stars 9 forks source link

Add .NET Standard 2.0 target. #2

Closed RichardD2 closed 1 year ago

RichardD2 commented 1 year ago

Using PolySharp and some extra shims, it is fairly simply to support a .NET Standard 2.0 target.

The consuming application will need to explicitly set <LangVersion>10</LangVersion> or later to use the library properly.

NB: I couldn't run the tests against .NET 8.0, since I'm not using the VS2022 preview. But they ran successfully against .NET Framework 4.8, .NET 5, .NET 6, and .NET 7.

hadashiA commented 1 year ago

Thanks a lot. We will be happy to merge this!