From 4590fc9bcd6ea4e3f10a8795b1e9a8697770564f Mon Sep 17 00:00:00 2001 From: Hrafn Orri Hrafnkelsson Date: Sat, 28 Dec 2024 14:44:03 +0000 Subject: [PATCH] 0.6.0-rc.1 --- Cargo.toml | 2 +- README.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8333a19..6c8d8f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "slow_function_warning" -version = "0.5.0" +version = "0.6.0-rc.1" authors = ["Hrafn Orri Hrafnkelsson "] edition = "2021" description = "A simple macro that prints a warning if a function takes longer than expected" diff --git a/README.md b/README.md index 82d1736..e9ece2c 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,9 @@ You can specify the duration using numeric literals followed by a suffix: * `elapsed_ns: u128` - The elapsed time in nanoseconds * `elapsed_nanos: u128` - The elapsed time in nanoseconds * `elapsed_nanoseconds: u128` - The elapsed time in nanoseconds +* `elapsed_us: u128` - The elapsed time in microseconds +* `elapsed_micros: u128` - The elapsed time in microseconds +* `elapsed_microseconds: u128` - The elapsed time in microseconds * `elapsed_ms: u128` - The elapsed time in milliseconds * `elapsed_millis: u128` - The elapsed time in milliseconds * `elapsed_milliseconds: u128` - The elapsed time in milliseconds @@ -98,6 +101,9 @@ You can specify the duration using numeric literals followed by a suffix: * `limit_ns: u128` - The limit time in nanoseconds * `limit_nanos: u128` - The limit time in nanoseconds * `limit_nanoseconds: u128` - The limit time in nanoseconds +* `limit_us: u128` - The limit time in microseconds +* `limit_micros: u128` - The limit time in microseconds +* `limit_microseconds: u128` - The limit time in microseconds * `limit_ms: u128` - The limit time in milliseconds * `limit_millis: u128` - The limit time in milliseconds * `limit_milliseconds: u128` - The limit time in milliseconds