# 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 = "2024"
rust-version = "1.88"
name = "piano"
version = "0.7.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Automated instrumentation-based profiling for Rust"
readme = "README.md"
keywords = [
    "profiling",
    "instrumentation",
    "performance",
]
categories = ["development-tools::profiling"]
license = "MIT"
repository = "https://github.com/rocketman-code/piano"

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

[[bin]]
name = "piano"
path = "src/main.rs"

[[test]]
name = "alloc_threaded"
path = "tests/alloc_threaded.rs"

[[test]]
name = "async_self_time"
path = "tests/async_self_time.rs"

[[test]]
name = "async_tokio"
path = "tests/async_tokio.rs"

[[test]]
name = "cpu_time"
path = "tests/cpu_time.rs"

[[test]]
name = "cross_thread"
path = "tests/cross_thread.rs"

[[test]]
name = "custom_bin_path"
path = "tests/custom_bin_path.rs"

[[test]]
name = "e2e"
path = "tests/e2e.rs"

[[test]]
name = "integration_frames"
path = "tests/integration_frames.rs"

[[test]]
name = "macro_rules"
path = "tests/macro_rules.rs"

[[test]]
name = "msrv_compat"
path = "tests/msrv_compat.rs"

[[test]]
name = "run_cmd"
path = "tests/run_cmd.rs"

[[test]]
name = "sample_crossval"
path = "tests/sample_crossval.rs"

[[test]]
name = "special_fns"
path = "tests/special_fns.rs"

[[test]]
name = "strict_lints"
path = "tests/strict_lints.rs"

[[test]]
name = "workspace_member"
path = "tests/workspace_member.rs"

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

[dependencies.ignore]
version = "0.4"

[dependencies.prettyplease]
version = "0.2"

[dependencies.proc-macro2]
version = "1.0.106"

[dependencies.quote]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "visit",
    "visit-mut",
]

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.toml_edit]
version = "0.22"

[build-dependencies.toml_edit]
version = "0.22"
