Commit 8865053f authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

Version 0.2.0

parent 3346395b8442
......@@ -37,7 +37,7 @@ dependencies = [
[[package]]
name = "micro-timer"
version = "0.1.2"
version = "0.2.0"
dependencies = [
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"micro-timer-macros 0.2.0",
......
......@@ -5,7 +5,7 @@ name = "micro-timer"
description = "Dumb tiny logging timer"
license-file = "LICENCE"
readme = "README.md"
version = "0.1.2"
version = "0.2.0"
authors = ["Raphaël Gomès <rgomes@octobus.net>"]
edition = "2018"
homepage = "https://heptapod.octobus.net/Alphare/micro-timer"
......@@ -13,7 +13,7 @@ repository = "https://heptapod.octobus.net/Alphare/micro-timer"
[dependencies]
scopeguard = "1.1.0"
micro-timer-macros = {path = "libs/micro-timer-macros"}
micro-timer-macros = { path = "libs/micro-timer-macros", version = "0.2.0" }
[dev-dependencies]
log = "0.4.8"
\ No newline at end of file
// micro-timer-macros
//
//
// Do not use this crate. It is only meant for internal use. Use `micro-timer`
// instead.
//
......@@ -52,7 +52,7 @@ fn inner_timed(_attr_ts: TokenStream, fn_ts: TokenStream) -> TokenStream {
span=>
{
let __micro_timer_instant = ::std::time::Instant::now();
let __micro_timer_guard =
let __micro_timer_guard =
::micro_timer::scopeguard::guard_on_success(
__micro_timer_instant,
|timer| {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment