3 unstable releases
0.2.0 | Dec 12, 2020 |
---|---|
0.1.1 | Oct 18, 2020 |
0.1.0 | Oct 16, 2020 |
2,520 downloads per month
Used in 2 crates
(via timed)
7KB
140 lines
Macros for the timed
crate
lib.rs
:
Call this using #[timed]
It will print by default with `println!`
If you want to change the printer you can use #[timed(printer = "info!")]
or any other macro or function that takes in a String.`
#[timed(duration(printer = "println!"))]
Dependencies
~2MB
~45K SLoC