measure_time
The crate provides macros, which measure the time until end of scope.
This is done by creating an object, which measures the time. The time is printed when the object is dropped.
Installation
Simply add a corresponding entry to your Cargo.toml
dependency list:
[]
= "0.1"
And add this to your crate root (lib.rs/main.rs):
extern crate measure_time;
Examples
extern crate measure_time;