[dependencies.arc-swap]
version = "1.7"
[dependencies.cfg-if]
version = "1.0"
[dependencies.colored]
version = "3"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.hdrhistogram]
default-features = false
version = "7.5"
[dependencies.hotpath-macros]
version = "0.2.8"
[dependencies.prettytable-rs]
default-features = false
version = "0.10"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
features = ["rt"]
version = "1.47"
[dev-dependencies.tokio]
features = ["full"]
version = "1.47"
[[example]]
name = "async_multithread"
path = "examples/async_multithread.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "benchmark"
path = "examples/benchmark.rs"
[[example]]
name = "custom_guard"
path = "examples/custom_guard.rs"
[[example]]
name = "early_returns"
path = "examples/early_returns.rs"
[[example]]
name = "main_empty"
path = "examples/main_empty.rs"
[[example]]
name = "main_format"
path = "examples/main_format.rs"
[[example]]
name = "main_percentiles"
path = "examples/main_percentiles.rs"
[[example]]
name = "main_percentiles_format"
path = "examples/main_percentiles_format.rs"
[[example]]
name = "unit_test"
path = "examples/unit_test.rs"
[[example]]
name = "unsupported_async"
path = "examples/unsupported_async.rs"
[features]
default = []
hotpath = ["hotpath-macros/hotpath"]
hotpath-alloc-bytes-max = []
hotpath-alloc-bytes-total = []
hotpath-alloc-count-max = []
hotpath-alloc-count-total = []
[lib]
name = "hotpath"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools"]
description = " A simple Rust profiler that shows exactly where your code spends time and allocates memory"
edition = "2021"
license = "MIT"
name = "hotpath"
readme = "README.md"
repository = "https://github.com/pawurb/hotpath"
version = "0.2.8"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"