rust-analyzer
8.0.27
See the version list below for details.
dotnet add package rust-analyzer --version 8.0.27
NuGet\Install-Package rust-analyzer -Version 8.0.27
<PackageReference Include="rust-analyzer" Version="8.0.27" />
<PackageVersion Include="rust-analyzer" Version="8.0.27" />
<PackageReference Include="rust-analyzer" />
paket add rust-analyzer --version 8.0.27
#r "nuget: rust-analyzer, 8.0.27"
#:package rust-analyzer@8.0.27
#addin nuget:?package=rust-analyzer&version=8.0.27
#tool nuget:?package=rust-analyzer&version=8.0.27
Rust Plugin Analyzer
A Roslyn-based code analyzer for Rust game plugins that helps maintain code quality by detecting common issues.
Features
Empty Method Detection (RUST001)
- Detects empty methods that might indicate incomplete implementation
- Helps identify forgotten code or unnecessary methods
- Documentation
Unused Method Detection (RUST003)
- Finds methods that are never used in the codebase
- Helps maintain clean code by identifying dead code
- Documentation
Installation
Install via NuGet Package Manager:
Install-Package rust-analyzerOr via .NET CLI:
dotnet add package rust-analyzer
Requirements
- .NET Standard 2.0 or higher
- Visual Studio 2019 or higher
- C# 8.0 or higher
Usage
The analyzer will automatically start working once added to your project. It provides:
- Real-time analysis in Visual Studio
- Warning messages with detailed explanations
- Quick fixes for common issues
- Documentation links for each rule
Rules
| Rule ID | Category | Severity | Description |
|---|---|---|---|
| RUST001 | Design | Warning | Empty method detection |
| RUST003 | Design | Warning | Unused method detection |
Configuration
No additional configuration is required. The analyzer works out of the box with default settings.
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built using the .NET Compiler Platform (Roslyn)
- Inspired by the Rust game modding community
| 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. |
-
.NETStandard 2.0
- System.Text.Json (>= 8.0.0)
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 |
|---|---|---|
| 8.0.36 | 112 | 10/11/2025 |
| 8.0.35 | 96 | 10/11/2025 |
| 8.0.34 | 172 | 10/7/2025 |
| 8.0.33 | 166 | 10/7/2025 |
| 8.0.32 | 323 | 5/20/2025 |
| 8.0.31 | 193 | 5/19/2025 |
| 8.0.30 | 182 | 5/18/2025 |
| 8.0.29 | 466 | 3/8/2025 |
| 8.0.28 | 279 | 3/7/2025 |
| 8.0.27 | 222 | 2/23/2025 |
| 8.0.26 | 183 | 2/20/2025 |
| 8.0.25 | 193 | 2/17/2025 |
| 8.0.24 | 237 | 2/10/2025 |
| 8.0.23 | 170 | 2/9/2025 |
| 8.0.22 | 295 | 1/23/2025 |
| 8.0.21 | 138 | 1/23/2025 |
| 8.0.20 | 167 | 1/21/2025 |
| 8.0.19 | 143 | 1/20/2025 |
| 8.0.18 | 132 | 1/20/2025 |
| 8.0.17 | 140 | 1/20/2025 |
| 8.0.15 | 173 | 1/15/2025 |
| 8.0.14 | 133 | 1/14/2025 |
| 8.0.13 | 142 | 1/13/2025 |
| 8.0.12 | 136 | 1/13/2025 |
| 8.0.11 | 119 | 1/12/2025 |
| 8.0.10 | 150 | 1/10/2025 |
| 8.0.9 | 133 | 1/9/2025 |
| 8.0.8 | 136 | 1/9/2025 |
| 8.0.7 | 136 | 1/9/2025 |
| 8.0.6 | 225 | 1/9/2025 |
| 8.0.5 | 172 | 1/6/2025 |
| 8.0.4 | 158 | 1/3/2025 |
| 8.0.3 | 144 | 1/2/2025 |
| 8.0.2 | 152 | 1/2/2025 |
| 8.0.1 | 149 | 1/2/2025 |
| 8.0.0 | 150 | 1/1/2025 |
| 7.0.0 | 156 | 1/1/2025 |
| 6.0.0 | 180 | 12/5/2024 |
| 5.0.0 | 144 | 12/5/2024 |
| 4.0.0 | 136 | 12/5/2024 |
| 3.0.0 | 153 | 12/5/2024 |
| 2.0.0 | 182 | 11/28/2024 |
| 1.0.0 | 150 | 11/28/2024 |