androscalpel/androscalpel/Cargo.toml

50 lines
1.5 KiB
TOML

[package]
name = "androscalpel"
version = "0.1.0"
edition = "2024"
license = "AGPL-3.0-or-later"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "androscalpel"
crate-type = ["cdylib", "lib"]
[dependencies]
adler = "1.0.2"
androscalpel_serializer = { version = "0.1.0", path = "../androscalpel_serializer" }
androscalpel_platform_api_list = { version = "0.1.0", path = "../androscalpel_platform_api_list", optional = true }
anyhow = { version = "1.0.75", features = ["backtrace"] }
apk_frauder = { version = "0.1.0", path = "../apk_frauder" }
log = "0.4.20"
# TODO: remove python support
pyo3 = { version = "0.23.4", features = ["anyhow", "abi3-py38", "extension-module"], optional = true}
pyo3-log = { version = "0.12.1", optional = true}
rayon = "1.9.0"
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
sha1 = "0.10.6"
zip = {version = "2.2.2", optional = true}
[dev-dependencies]
pretty_assertions = "1.4.1"
# For examples
clap = { version = "4.5.27", features = ["derive"] }
env_logger = "0.11.6"
[features]
default = ["code-analysis", "platform-list"]
# TODO: remove python support
python = ["pyo3", "pyo3-log"] # Currently not supported
external-zip-reader = ["zip"]
platform-list = ["androscalpel_platform_api_list"]
code-analysis = []
map_dex_file = ["androscalpel_serializer/map_dex_file"]
[[example]]
name = "list-method"
[[example]]
name = "count_ins_and_genapk"
[[example]]
name = "dump_cfg"