Sonar
is a great tool for managing the quality of your software. Although, you might
disagree if you’ve been using it 10 years ago!
However, our beloved language Rust has not been supported by Sonar (although
there have been
discussion
about it).
In a company, Sonar is a great tool for centralizing all metrics about code
quality. So not having Rust’s support is another reason a company could rule
out Rust as a technical solution (a small one but still a valid one).
The community already provided a great plugin for
SonarQube called
sonar-rust
. Even if the
maintenance of the code has not been very active in the last few months, the
plugin just works fine. But there is one trick, it has to be installed
server-side. If you want to manage your own in-house instance of Sonar,
that’s the go-to solution. But sonarcloud.io
who provides hosted instances of Sonar doesn’t allow custom plugins to be
installed. So how do we do it?