# 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.95"
name = "smda"
version = "0.6.3"
authors = [
    "Marirs <marirs@gmail.com>",
    "Andrey Mnatsakanov <andrey@3ig.kiev.ua>",
    "Jorge Alejandro Durán Royo<jorge.duran.royo@gmail.com>",
]
build = false
include = [
    "assets",
    "src",
    "examples",
    "LICENSE",
    "README.md",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Recursive x86/x64/AArch64 disassembler library for control-flow recovery from memory dumps. Iced-x86 + disarm64-backed; zero-copy."
homepage = "https://github.com/marirs/smda-rs"
readme = "README.md"
keywords = [
    "smda",
    "disassembler",
    "cfg",
    "iced",
    "aarch64",
]
categories = [
    "parsing",
    "development-tools::debugging",
]
license = "MIT"
repository = "https://github.com/marirs/smda-rs"

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

[[example]]
name = "aarch64_probe"
path = "examples/aarch64_probe.rs"

[[example]]
name = "smdadump"
path = "examples/smdadump.rs"

[dependencies.disarm64]
version = "0.1"

[dependencies.disarm64_defn]
version = "0.1"
default-features = false

[dependencies.gimli]
version = "0.32"
features = [
    "read",
    "std",
]
default-features = false

[dependencies.goblin]
version = "0.10"
features = ["alloc"]

[dependencies.hex]
version = "0.4"

[dependencies.iced-x86]
version = "1"
features = [
    "std",
    "decoder",
    "intel",
    "instr_info",
]
default-features = false

[dependencies.itertools]
version = "0.14"

[dependencies.maplit]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.rustc-demangle]
version = "0.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"
default-features = false

[dependencies.thiserror]
version = "2"

[profile.dev]
opt-level = 3

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
debug-assertions = false
