Cysharp / Utf8StringInterpolation

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

Add .NET Standard 2.0 target. #2

Closed RichardD2 closed 10 months ago

RichardD2 commented 11 months 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 10 months ago

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