Rustly.Analyzers
10.6.1
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.Analyzers --version 10.6.1
NuGet\Install-Package Rustly.Analyzers -Version 10.6.1
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.Analyzers" Version="10.6.1"> <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.Analyzers" Version="10.6.1" />
<PackageReference Include="Rustly.Analyzers"> <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.Analyzers --version 10.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rustly.Analyzers, 10.6.1"
#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.Analyzers@10.6.1
#: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.Analyzers&version=10.6.1
#tool nuget:?package=Rustly.Analyzers&version=10.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Rustly.Analyzers (v10.6.1)
Roslyn analyzers enforcing Rustly patterns: null-safety, explicit error handling, safe unwrap.
Installation
dotnet add package Rustly.Analyzers --version 10.6.1
Diagnostics
| ID | Severity | Description |
|---|---|---|
| RUSTLY001 | Warning | Nullable return should be Option<T> |
| RUSTLY002 | Info | Null check pattern — use Option<T>.Match() |
| RUSTLY003 | Info | Try/catch — use Result<T, E> or Try() |
| RUSTLY004 | Error | Unsafe Unwrap() without prior check |
| RUSTLY005 | Warning | Result<T, E> return value not handled |
| RUSTLY006 | Warning | Option<T?> redundant nullability |
| RUSTLY007 | Info | Use IsNone/IsOk instead of == default |
| RUSTLY008 | Warning | Some(null) is likely a mistake |
| RUSTLY009 | Info | Match() for side effects — use Inspect() |
| RUSTLY010 | Warning | [EnumValue] missing on some enum members |
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 | 115 | 4/28/2026 | |
| 10.6.3 | 114 | 4/16/2026 | |
| 10.6.2 | 104 | 4/16/2026 | |
| 10.6.2-rc6 | 103 | 4/16/2026 | |
| 10.6.2-rc5 | 120 | 4/15/2026 | |
| 10.6.1 | 107 | 4/15/2026 |
EN: 10.6.1 — 10 diagnostics (RUSTLY001-010). RUSTLY004 Unsafe Unwrap is now Error severity (panic). | RU: 10.6.1 — 10 диагностик (RUSTLY001-010). RUSTLY004 Unsafe Unwrap теперь Error (panic).