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: Expected literal or identifier
 --> tests/fail/fail.rs:6:12
  |
6 |     #[time(struct)]
  |            ^^^^^^

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