# 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"
name = "hotpath-meta"
version = "0.19.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hotpath meta - a version of hotpath used to profile the profiler itself. Not intended for external use."
readme = "README.md"
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/pawurb/hotpath-rs"

[features]
async-channel = [
    "dep:tokio",
    "tokio/sync",
    "tokio/macros",
    "tokio/rt-multi-thread",
    "dep:async-channel",
]
crossbeam = []
default = ["threads"]
dev-meta = ["dep:time"]
flume = [
    "dep:flume",
    "dep:tokio",
    "tokio/rt-multi-thread",
]
futures = [
    "dep:tokio",
    "tokio/sync",
    "tokio/macros",
    "tokio/rt-multi-thread",
    "dep:futures-channel",
]
hotpath-alloc = []
hotpath-alloc-meta = ["dep:tokio"]
hotpath-cpu-meta = [
    "dep:object",
    "dep:rustc-demangle",
    "dep:flate2",
    "dep:serde",
    "dep:serde_json",
]
hotpath-mcp-meta = [
    "hotpath-meta",
    "dep:rmcp",
    "dep:tokio",
    "tokio/rt",
    "tokio/net",
    "dep:axum",
    "dep:tokio-util",
    "dep:schemars",
]
hotpath-meta = [
    "hotpath-macros-meta/hotpath-meta",
    "dep:arc-swap",
    "dep:base64",
    "dep:cfg-if",
    "dep:crossbeam-channel",
    "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",
]
hotpath-off-meta = ["hotpath-macros-meta/hotpath-off-meta"]
threads = []
tokio = [
    "dep:tokio",
    "tokio/sync",
    "tokio/macros",
    "tokio/rt-multi-thread",
]
tui = [
    "dep:serde",
    "dep:serde_json",
    "dep:eyre",
    "dep:clap",
    "dep:prettytable-rs",
    "dep:reqwest",
    "dep:crossterm",
    "dep:ratatui",
    "dep:base64",
    "dep:regex",
    "dep:crossbeam-channel",
    "dep:tokio",
    "tokio/rt",
    "crossbeam",
]

[lib]
name = "hotpath_meta"
path = "src/lib.rs"

[[bin]]
name = "hotpath-samply-meta"
path = "bin/hotpath-samply-meta/main.rs"

[dependencies.arc-swap]
version = "1.7"
optional = true

[dependencies.async-channel]
version = "2"
optional = true

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.cfg-if]
version = "1.0"
optional = true

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.crossbeam-channel]
version = "0.5"
optional = true

[dependencies.crossterm]
version = "0.29"
optional = true

[dependencies.eyre]
version = "0.6"
optional = true

[dependencies.flate2]
version = "1"
optional = true

[dependencies.flume]
version = "0.12.0"
optional = true

[dependencies.futures-channel]
version = "0.3"
features = ["sink"]
optional = true

[dependencies.futures-util]
version = "0.3"
features = ["sink"]
optional = true

[dependencies.hdrhistogram]
version = "7"
optional = true
default-features = false

[dependencies.hotpath-macros-meta]
version = "0.19.1"

[dependencies.libc]
version = "0.2.150"
optional = true

[dependencies.object]
version = "0.36"
features = [
    "read",
    "std",
]
optional = true
default-features = false

[dependencies.pin-project-lite]
version = "0.2.12"
optional = true

[dependencies.prettytable-rs]
version = "0.10"
optional = true
default-features = false

[dependencies.quanta]
version = "0.12"
optional = true

[dependencies.ratatui]
version = "0.29"
optional = true

[dependencies.regex]
version = "1"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]
optional = true
default-features = false

[dependencies.rmcp]
version = "1.4"
features = [
    "server",
    "transport-streamable-http-server",
    "transport-streamable-http-server-session",
]
optional = true

[dependencies.rustc-demangle]
version = "0.1"
optional = true

[dependencies.schemars]
version = "1"
optional = true

[dependencies.serde]
version = "1.0.130"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "local-offset",
    "macros",
]
optional = true

[dependencies.tiny_http]
version = "0.12"
optional = true

[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true

[dependencies.tokio-util]
version = "0.7"
optional = true

[dependencies.ureq]
version = "3"
features = ["json"]
optional = true

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.ureq]
version = "3"
features = ["json"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]
