rust-analyzer 8.0.1

There is a newer version of this package available.
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
                    
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="rust-analyzer" Version="8.0.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="rust-analyzer" Version="8.0.1" />
                    
Directory.Packages.props
<PackageReference Include="rust-analyzer">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
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 rust-analyzer --version 8.0.1
                    
#r "nuget: rust-analyzer, 8.0.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.
#addin nuget:?package=rust-analyzer&version=8.0.1
                    
Install rust-analyzer as a Cake Addin
#tool nuget:?package=rust-analyzer&version=8.0.1
                    
Install rust-analyzer as a Cake Tool

Rust Plugin Analyzer

A Roslyn-based code analyzer for Rust game plugins that helps maintain code quality by detecting common issues.

Features

  1. Empty Method Detection (RUST001)

    • Detects empty methods that might indicate incomplete implementation
    • Helps identify forgotten code or unnecessary methods
    • Documentation
  2. Unused Method Detection (RUST003)

    • Finds methods that are never used in the codebase
    • Helps maintain clean code by identifying dead code
    • Documentation

Installation

  1. Install via NuGet Package Manager:

    Install-Package rust-analyzer
    
  2. 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

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

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
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