function-timer 0.9.2

Macro that allow to time a function and emit a metric using metrics crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: You can't disable a whole impl block
 --> tests/fail/fail_disable_struct.rs:5:8
  |
5 | #[time(disable)]
  |        ^^^^^^^

error[E0601]: `main` function not found in crate `$CRATE`
 --> tests/fail/fail_disable_struct.rs:8:2
  |
8 | }
  |  ^ consider adding a `main` function to `$DIR/tests/fail/fail_disable_struct.rs`