Rustly.Generators
10.6.2
See the version list below for details.
dotnet add package Rustly.Generators --version 10.6.2
NuGet\Install-Package Rustly.Generators -Version 10.6.2
<PackageReference Include="Rustly.Generators" Version="10.6.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Rustly.Generators" Version="10.6.2" />
<PackageReference Include="Rustly.Generators"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Rustly.Generators --version 10.6.2
#r "nuget: Rustly.Generators, 10.6.2"
#:package Rustly.Generators@10.6.2
#addin nuget:?package=Rustly.Generators&version=10.6.2
#tool nuget:?package=Rustly.Generators&version=10.6.2
Rustly.Generators (v10.6.2)
Source generators for Rustly: EnumValueSerializer generates AOT-friendly enum lookup at compile-time. Zero reflection.
Part of the Rustly ecosystem for .NET.
Install
dotnet add package Rustly.Generators --version 10.6.2
Example
using Rustly;
[EnumValueSerializer]
public partial class Color : EnumValue<Color>
{
public static readonly Color Red = new("Red");
public static readonly Color Green = new("Green");
public static readonly Color Blue = new("Blue");
}
// Generated at compile-time: Color.FromString(), Color.TryFromString()
Related Packages
- Rustly — Full toolkit
- Rustly.Types — Core: Option, Result, Unit
- Rustly.Extensions — Flatten, Transpose, LINQ
- Rustly.Prelude — Ok(), Err(), Some(), None()
- Rustly.Async — Async pipeline
- Rustly.Json — System.Text.Json
- Rustly.Json.Newtonsoft — Newtonsoft.Json
- Rustly.Configuration — IConfiguration
- Rustly.Analyzers — Roslyn analyzers
- Rustly.Generators — Source generators
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 10.6.4 | 205 | 4/28/2026 | |
| 10.6.3 | 129 | 4/16/2026 | |
| 10.6.2 | 113 | 4/16/2026 | |
| 10.6.2-rc6 | 107 | 4/16/2026 | |
| 10.6.2-rc5 | 124 | 4/15/2026 | |
| 10.6.1 | 109 | 4/15/2026 |
EN: 10.6.2
- Auto-generates JsonConverter for System.Text.Json when referenced (zero reflection)
- Auto-generates JsonConverter for Newtonsoft.Json when referenced (zero reflection)
- Removed AutoResultGenerator (replaced by planned Derive system)
- Added build/buildTransitive props packaging
- XML documentation added
RU: 10.6.2
- Автоматическая генерация JsonConverter для System.Text.Json (без рефлексии)
- Автоматическая генерация JsonConverter для Newtonsoft.Json (без рефлексии)
- Удалён AutoResultGenerator (заменён планируемой Derive системой)
- Добавлена упаковка build/buildTransitive props
- Добавлена XML-документация