Rustly.Generators
10.6.2-rc5
This is a prerelease version of Rustly.Generators.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Rustly.Generators --version 10.6.2-rc5
NuGet\Install-Package Rustly.Generators -Version 10.6.2-rc5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rustly.Generators" Version="10.6.2-rc5"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rustly.Generators" Version="10.6.2-rc5" />
<PackageReference Include="Rustly.Generators"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Rustly.Generators --version 10.6.2-rc5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rustly.Generators, 10.6.2-rc5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Rustly.Generators@10.6.2-rc5
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Rustly.Generators&version=10.6.2-rc5&prerelease
#tool nuget:?package=Rustly.Generators&version=10.6.2-rc5&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Rustly.Generators (v10.6.2-rc5)
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-rc5
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
There are no supported framework assets in this package.
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.1 — EnumValueSerializer derive generator. AOT-friendly, zero reflection. | RU: 10.6.1 — EnumValueSerializer derive генератор. AOT-friendly, без рефлексии.