# SWX > Library for general purpose ## Install ```sh cargo add swx ``` ## Usage ```rust use swx::elapsed_time; #[elapsed_time] fn do_something() { println!("{}", "asdfg"); } ```