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
#[test]
fn test_fail_wrong_token() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/fail/fail.rs");
}

#[test]
fn test_fail_disable_impl() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/fail/fail_disable_struct.rs");
}