4.9.11. Rust Coding Rules and Metrics Guide

4.9.11.1. Checking compliance with Rust metrics using Axivion Suite

Use Axivion Suite to check your code’s compliance with Rust metrics.

The following factsheet lists the supported Rust metrics.

Supported Rust metrics

4.9.11.2. Configuration

Rust coding rules implemented as stylechecks can be selected and configured like other stylechecks; see Stylechecks.

Rust metrics can be selected and configured like other metrics; see Metrics.

Metric rules have individual configuration options, such as the range of allowed values shown in the GUI, allowing you to fine-tune them to your needs.

Although a sensible default configuration is provided, the Rust rules should be adapted to your projects.