# 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 = "moon-pprof"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified CLI for profiling MoonBit code: profile wasm (wasmtime), summarize / diff pprof files, and drive cross-backend bench runs."
readme = "README.md"
keywords = [
    "moonbit",
    "pprof",
    "profiling",
    "wasmtime",
    "samply",
]
categories = [
    "development-tools::profiling",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/mizchi/pprof-mbt"

[[bin]]
name = "moon-pprof"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

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

[dependencies.cpuprofile-to-pprof]
version = "0.1.0"

[dependencies.firefox-to-pprof]
version = "0.1.0"

[dependencies.flate2]
version = "1"

[dependencies.heapprofile-to-pprof]
version = "0.1.0"

[dependencies.moonbit-demangle]
version = "0.1.0"

[dependencies.moonbit-wasm-host]
version = "0.1.0"

[dependencies.perf-to-pprof]
version = "0.1.0"

[dependencies.prost]
version = "0.13"

[dependencies.regex]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.walrus]
version = "0.26"

[dependencies.wasmtime]
version = "44"
features = ["profiling"]

[dependencies.wasmtime-guest-pprof]
version = "0.1.0"

[dev-dependencies.wasmprinter]
version = "0.250.0"

[dev-dependencies.wat]
version = "1.250.0"

[target."cfg(unix)".dependencies.libc]
version = "0.2"
