# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.65.0" name = "function-timer" version = "0.9.0" authors = ["dalvany"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Macro that allow to time a function and emit a metric using metrics crate" homepage = "https://github.com/Dalvany/function-timer" documentation = "https://docs.rs/function-timer" readme = "README.md" keywords = [ "macro", "metrics", "instrument", ] categories = ["development-tools::profiling"] license = "MIT OR Apache-2.0" repository = "https://github.com/Dalvany/function-timer" [lib] name = "function_timer" path = "src/lib.rs" [[example]] name = "time_functions" path = "examples/time_functions.rs" [[example]] name = "time_impl" path = "examples/time_impl.rs" [[test]] name = "test_async_function" path = "tests/test_async_function.rs" [[test]] name = "test_time_disable" path = "tests/test_time_disable.rs" [[test]] name = "test_time_fail" path = "tests/test_time_fail.rs" [[test]] name = "test_time_function" path = "tests/test_time_function.rs" [[test]] name = "test_time_ident" path = "tests/test_time_ident.rs" [[test]] name = "test_time_struct" path = "tests/test_time_struct.rs" [dependencies.function-timer-macro] version = "0.6" [dependencies.metrics] version = "0.24" [dev-dependencies.futures-test] version = "0.3" [dev-dependencies.metrics-exporter-prometheus] version = "0.15" default-features = false [dev-dependencies.metrics-util] version = "0.18" [dev-dependencies.trybuild] version = "1.0"