SbeSourceGenerator 0.5.0
See the version list below for details.
dotnet add package SbeSourceGenerator --version 0.5.0
NuGet\Install-Package SbeSourceGenerator -Version 0.5.0
<PackageReference Include="SbeSourceGenerator" Version="0.5.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="SbeSourceGenerator" Version="0.5.0" />
<PackageReference Include="SbeSourceGenerator"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add SbeSourceGenerator --version 0.5.0
#r "nuget: SbeSourceGenerator, 0.5.0"
#:package SbeSourceGenerator@0.5.0
#addin nuget:?package=SbeSourceGenerator&version=0.5.0
#tool nuget:?package=SbeSourceGenerator&version=0.5.0
SBE Source Generator
SbeSourceGenerator is a Roslyn incremental source generator that converts Simple Binary Encoding (SBE) XML schemas into strongly typed C# data structures, enums and message parsers. It enables consuming real-time market data feeds without hand-writing SBE decoding code.
Getting Started
Install the package:
dotnet add package SbeSourceGenerator --version 0.1.0-preview.1Add SBE schema files (
*.xml) to your project asAdditionalFiles:<ItemGroup> <AdditionalFiles Include="Schemas\*.xml" /> </ItemGroup>Build the project. The generator creates classes under the namespace inferred from the schema filename. Generated code is accessible at compile time and emitted into the
objfolder.
Features
- Generates blittable structs for SBE composites, messages and groups.
- Produces helper types for enums, sets, optional values and decimal conversions.
- Provides
TryParsehelpers on messages and composites to simplify decoding flows without unsafe casts. - Includes diagnostics (
SBE00x) to highlight malformed schemas or unsupported constructs.
Requirements
- .NET 6.0 SDK or newer for consumer projects.
- SBE XML schema compliant with FIX Simple Binary Encoding 1.0 namespace (
http://fixprotocol.io/2016/sbe).
Diagnostics
The generator surfaces Roslyn diagnostics prefixed with SBE. Refer to AnalyzerReleases.Shipped.md for current rule set and severities.
Contributing
Issues and pull requests are welcome at github.com/pedrosakuma/SbeSourceGenerator.
License
Distributed under the MIT License. See the LICENSE.txt file for more information.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SbeSourceGenerator:
| Package | Downloads |
|---|---|
|
B3.EntryPoint.Sbe
Source-generated SBE codecs for the B3 EntryPoint (FIXP 8.4.2) wire protocol. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.6.1 | 4,210 | 4/30/2026 |
| 1.6.0 | 107 | 4/29/2026 |
| 1.5.0 | 123 | 4/25/2026 |
| 1.4.0 | 90 | 4/25/2026 |
| 1.3.0 | 106 | 4/25/2026 |
| 1.2.1 | 95 | 4/25/2026 |
| 1.2.0 | 92 | 4/25/2026 |
| 1.1.4 | 242 | 4/15/2026 |
| 1.1.3 | 98 | 4/15/2026 |
| 1.1.2 | 112 | 4/15/2026 |
| 1.1.1 | 91 | 4/15/2026 |
| 1.1.0 | 93 | 4/15/2026 |
| 1.0.2 | 244 | 4/10/2026 |
| 1.0.1 | 99 | 4/10/2026 |
| 1.0.0 | 96 | 4/10/2026 |
| 0.9.1 | 94 | 4/10/2026 |
| 0.9.0 | 93 | 4/10/2026 |
| 0.8.0 | 97 | 4/10/2026 |
| 0.7.0 | 97 | 4/9/2026 |
| 0.5.0 | 98 | 4/9/2026 |