[[bin]]
name = "hotpath"
path = "bin/hotpath/main.rs"
required-features = ["tui"]
[[bin]]
name = "hotpath-ci"
path = "bin/hotpath-ci/main.rs"
required-features = ["ci"]
[dependencies.arc-swap]
optional = true
version = "1.7"
[dependencies.base64]
optional = true
version = "0.22"
[dependencies.cfg-if]
optional = true
version = "1.0"
[dependencies.chrono]
optional = true
version = "0.4"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5"
[dependencies.colored]
optional = true
version = "3"
[dependencies.crossbeam-channel]
optional = true
version = "0.5"
[dependencies.crossterm]
optional = true
version = "0.29"
[dependencies.eyre]
optional = true
version = "0.6"
[dependencies.futures-channel]
features = ["sink"]
optional = true
version = "0.3"
[dependencies.futures-util]
features = ["sink"]
optional = true
version = "0.3"
[dependencies.hdrhistogram]
default-features = false
optional = true
version = "7.5"
[dependencies.hotpath-macros]
version = "0.9.2"
[dependencies.libc]
optional = true
version = "0.2"
[dependencies.pin-project-lite]
optional = true
version = "0.2"
[dependencies.prettytable-rs]
default-features = false
optional = true
version = "0.10"
[dependencies.quanta]
optional = true
version = "0.12"
[dependencies.ratatui]
optional = true
version = "0.29"
[dependencies.regex]
optional = true
version = "1"
[dependencies.reqwest]
default-features = false
features = ["json", "rustls"]
optional = true
version = "0.13"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dependencies.time]
features = ["formatting", "local-offset"]
optional = true
version = "0.3"
[dependencies.tiny_http]
optional = true
version = "0.12"
[dependencies.tokio]
features = ["rt"]
optional = true
version = "1"
[dependencies.tracing]
optional = true
version = "0.1"
[dependencies.tracing-subscriber]
features = ["env-filter", "fmt", "time"]
optional = true
version = "0.3"
[dependencies.ureq]
features = ["json"]
optional = true
version = "3.1"
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.ureq]
features = ["json"]
version = "3.1"
[features]
ci = ["dep:serde", "dep:serde_json", "dep:eyre", "dep:clap", "dep:prettytable-rs", "dep:ureq", "dep:base64", "dep:regex"]
crossbeam = []
default = ["threads"]
futures = ["dep:tokio", "tokio/sync", "tokio/macros", "tokio/time", "tokio/rt-multi-thread", "dep:futures-channel"]
hotpath = ["hotpath-macros/hotpath", "dep:arc-swap", "dep:base64", "dep:cfg-if", "dep:clap", "dep:colored", "dep:crossbeam-channel", "dep:eyre", "dep:hdrhistogram", "dep:prettytable-rs", "dep:quanta", "dep:serde", "dep:serde_json", "dep:tiny_http", "dep:futures-util", "dep:pin-project-lite", "dep:regex", "dep:libc", "dep:mach2"]
hotpath-alloc = ["dep:tokio"]
hotpath-off = ["hotpath-macros/hotpath-off"]
threads = []
tokio = ["dep:tokio", "tokio/sync", "tokio/macros", "tokio/time", "tokio/rt-multi-thread"]
tui = ["dep:serde", "dep:serde_json", "dep:eyre", "dep:clap", "dep:prettytable-rs", "dep:reqwest", "dep:crossterm", "dep:ratatui", "dep:chrono", "dep:base64", "dep:regex", "dep:crossbeam-channel", "dep:tokio", "tokio/rt", "dep:tracing", "dep:tracing-subscriber", "dep:time"]
[lib]
name = "hotpath"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools"]
description = "Simple async Rust profiler with memory and data-flow insights - quickly find and debug performance bottlenecks."
edition = "2021"
license = "MIT"
name = "hotpath"
readme = "README.md"
repository = "https://github.com/pawurb/hotpath"
version = "0.9.3"
[target.'cfg(target_os = "macos")'.dependencies.mach2]
optional = true
version = "0.6"
[[test]]
name = "channels_crossbeam"
path = "tests/channels_crossbeam.rs"
[[test]]
name = "channels_ftc"
path = "tests/channels_ftc.rs"
[[test]]
name = "channels_std"
path = "tests/channels_std.rs"
[[test]]
name = "channels_tokio"
path = "tests/channels_tokio.rs"
[[test]]
name = "functions"
path = "tests/functions.rs"
[[test]]
name = "futures"
path = "tests/futures.rs"
[[test]]
name = "streams"
path = "tests/streams.rs"
[[test]]
name = "threads"
path = "tests/threads.rs"