GitHub - weirdsmiley/rcov: Get coverage report of cargo project

· GitHub

1 min read Original article ↗

Recent release of rust(1.60.0) provides a feature of source-based code coverage. This script runs all those commands and presents the coverage report.

Install

$ make install

Usage

Go to any cargo directory and run rcov. Note, that it builds the project in debug mode.