# 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.85"
name = "heap-rs"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast CLI for analyzing Java .hprof heap dumps with retained sizes and retainer analysis"
readme = "README.md"
keywords = [
    "hprof",
    "heap",
    "java",
    "memory",
    "profiler",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/LucaNerlich/heap-rs"

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

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

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

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

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

[dependencies.csv]
version = "1"

[dependencies.indicatif]
version = "0.17"

[dependencies.jvm-hprof]
version = "0.1"

[dependencies.memmap2]
version = "0.9"

[dependencies.rayon]
version = "1"

[dependencies.rustc-hash]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"
