asc-cli 0.2.1

Query an APK or HarmonyOS HAP like a read-only database: classes, cross-references, disassembly and manifest in milliseconds, no preprocessing. CLI + MCP for humans and agents.
# 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.98"
name = "asc-cli"
version = "0.2.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Query an APK or HarmonyOS HAP like a read-only database: classes, cross-references, disassembly and manifest in milliseconds, no preprocessing. CLI + MCP for humans and agents."
readme = "README.en.md"
keywords = [
    "android",
    "dex",
    "apk",
    "smali",
    "reverse-engineering",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/Ylarod/asc-rs"
resolver = "2"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/asc-v{ version }-{ target }.tar.gz"
bin-dir = "asc-v{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.release]
tag = true

[features]
default = ["installer"]
installer = ["asc-frontend/installer"]

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

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

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

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

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

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

[dependencies.asc-ark-engine]
version = "0.2.1"

[dependencies.asc-engine]
version = "0.2.1"

[dependencies.asc-findrefs]
version = "0.2.1"

[dependencies.asc-frontend]
version = "0.2.1"

[dependencies.asc-mcp]
version = "0.2.1"

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

[dependencies.libc]
version = "0.2"

[dependencies.serde_json]
version = "1"

[dev-dependencies.asc-decompile]
version = "0.2.1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.sha2]
version = "0.10"

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

[lints.clippy]
missing_errors_doc = "warn"
missing_panics_doc = "warn"
undocumented_unsafe_blocks = "warn"

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"