[package]
edition = "2024"
rust-version = "1.85"
name = "hprof-analyzer"
version = "0.1.0"
authors = ["Johannes Bechberger"]
build = "build.rs"
exclude = [
"tests/fixtures/*.hprof",
".git-worktrees/*",
"docs/*",
"*.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, low-memory Java HPROF heap-dump analyzer with Eclipse MAT-parity reports (System Overview, Leak Suspects, Top Consumers)."
readme = "README.md"
keywords = [
"hprof",
"heap-dump",
"java",
"memory",
"oom",
]
categories = [
"command-line-utilities",
"development-tools::profiling",
]
license = "MIT"
repository = "https://github.com/parttimenerd/hprof-analyzer"
[[bin]]
name = "hprof-analyzer"
path = "src/main.rs"
[[test]]
name = "cli_unified"
path = "tests/cli_unified.rs"
[[test]]
name = "html_selfcontained"
path = "tests/html_selfcontained.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "json_size_budget"
path = "tests/json_size_budget.rs"
[[test]]
name = "parity"
path = "tests/parity.rs"
[dependencies.base64]
version = "0.22"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4"
[dependencies.flate2]
version = "1"
[dependencies.schemars]
version = "=1.2.1"
[dependencies.scraper]
version = "0.27"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.toml]
version = "0.8"
features = ["parse"]
default-features = false
[dependencies.zstd]
version = "0.13"
default-features = false
[dev-dependencies.jsonschema]
version = "0.47.0"
[dev-dependencies.proptest]
version = "1"
[build-dependencies.flate2]
version = "1"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
collapsible_if = "allow"
needless_range_loop = "allow"
ptr_arg = "allow"
too_many_arguments = "allow"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"