Printing progress messages in rust

If you are writing to stdout and you want to print some progress logs, you can use eprintln to print to stderr and show the progress.

An example:

References: