# 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 = "layout-audit"
version = "0.3.0"
authors = ["Avi Fenesh"]
build = false
exclude = [
    "tests/",
    "scripts/",
    "Dockerfile.test",
    "action.yml",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Analyze binary memory layouts to detect padding inefficiencies"
homepage = "https://github.com/avifenesh/layout-audit"
documentation = "https://docs.rs/layout-audit"
readme = "README.md"
keywords = [
    "memory",
    "layout",
    "padding",
    "dwarf",
    "optimization",
]
categories = [
    "command-line-utilities",
    "development-tools::debugging",
    "development-tools::profiling",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/avifenesh/layout-audit"

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.colored]
version = "3.0"

[dependencies.comfy-table]
version = "7.2"

[dependencies.gimli]
version = "0.32"

[dependencies.memmap2]
version = "0.9"

[dependencies.object]
version = "0.38"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2.0"

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

[profile.release]
lto = true
strip = true
