rust-analyzer
8.0.1
See the version list below for details.
dotnet add package rust-analyzer --version 8.0.1
NuGet\Install-Package rust-analyzer -Version 8.0.1
<PackageReference Include="rust-analyzer" Version="8.0.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="rust-analyzer" Version="8.0.1" />
<PackageReference Include="rust-analyzer"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add rust-analyzer --version 8.0.1
#r "nuget: rust-analyzer, 8.0.1"
#addin nuget:?package=rust-analyzer&version=8.0.1
#tool nuget:?package=rust-analyzer&version=8.0.1
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-analyzer
Or 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
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 |
---|---|---|
8.0.29 | 308 | 3/8/2025 |
8.0.28 | 240 | 3/7/2025 |
8.0.27 | 181 | 2/23/2025 |
8.0.26 | 125 | 2/20/2025 |
8.0.25 | 144 | 2/17/2025 |
8.0.24 | 184 | 2/10/2025 |
8.0.23 | 119 | 2/9/2025 |
8.0.22 | 239 | 1/23/2025 |
8.0.21 | 89 | 1/23/2025 |
8.0.20 | 119 | 1/21/2025 |
8.0.19 | 96 | 1/20/2025 |
8.0.18 | 80 | 1/20/2025 |
8.0.17 | 88 | 1/20/2025 |
8.0.15 | 117 | 1/15/2025 |
8.0.14 | 84 | 1/14/2025 |
8.0.13 | 95 | 1/13/2025 |
8.0.12 | 87 | 1/13/2025 |
8.0.11 | 83 | 1/12/2025 |
8.0.10 | 117 | 1/10/2025 |
8.0.9 | 96 | 1/9/2025 |
8.0.8 | 86 | 1/9/2025 |
8.0.7 | 82 | 1/9/2025 |
8.0.6 | 85 | 1/9/2025 |
8.0.5 | 122 | 1/6/2025 |
8.0.4 | 108 | 1/3/2025 |
8.0.3 | 95 | 1/2/2025 |
8.0.2 | 108 | 1/2/2025 |
8.0.1 | 101 | 1/2/2025 |
8.0.0 | 99 | 1/1/2025 |
7.0.0 | 107 | 1/1/2025 |
6.0.0 | 135 | 12/5/2024 |
5.0.0 | 107 | 12/5/2024 |
4.0.0 | 104 | 12/5/2024 |
3.0.0 | 100 | 12/5/2024 |
2.0.0 | 127 | 11/28/2024 |
1.0.0 | 99 | 11/28/2024 |