Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Test coverage with Tarpaulin

cargo-tarpaulin is a code coverage reporting tool for the Cargo build system, named for a waterproof cloth used to cover cargo on a ship.

Install Tarpaulin

cargo install cargo-tarpaulin

Run Tarpaulin generate HTML report

cargo tarpaulin --out Html

Run Tarpaulin - print minimalistic text report on the screen

cargo tarpaulin --out Stdout