#elapsed-time #time #swx

macro swx

Library for general purpose development

1 unstable release

0.1.1 Jul 20, 2024
0.1.0 Jul 20, 2024

#546 in Procedural macros

MIT license

3KB

SWX

Library for general purpose

Install

cargo add swx

Usage

use swx::elapsed_time;

#[elapsed_time]
fn do_something() {
    println!("{}", "asdfg");
}

Dependencies

~230–670KB
~16K SLoC