[package]
edition = "2024"
rust-version = "1.98"
name = "asc-cli"
version = "0.2.0"
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 = "harmony"
path = "tests/harmony.rs"
[dependencies.asc-ark-engine]
version = "0.2.0"
[dependencies.asc-engine]
version = "0.2.0"
[dependencies.asc-findrefs]
version = "0.2.0"
[dependencies.asc-frontend]
version = "0.2.0"
[dependencies.asc-mcp]
version = "0.2.0"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.libc]
version = "0.2"
[dependencies.serde_json]
version = "1"
[dev-dependencies.asc-decompile]
version = "0.2.0"
[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"