[package]
edition = "2024"
name = "iphone-cli"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Let AI agents read and operate any app on a real iPhone through the accessibility tree. No XCUITest, WebDriverAgent or Xcode signing."
readme = "README.md"
license = "MIT"
repository = "https://github.com/HyunSeob/iphone-cli"
[lib]
name = "iphone_cli"
path = "src/lib.rs"
[[bin]]
name = "iph"
path = "src/main.rs"
[[test]]
name = "diagnose"
path = "tests/diagnose.rs"
[[test]]
name = "exit_codes"
path = "tests/exit_codes.rs"
[[test]]
name = "parse_calculator"
path = "tests/parse_calculator.rs"
[[test]]
name = "script_request"
path = "tests/script_request.rs"
[[test]]
name = "setup_wifi"
path = "tests/setup_wifi.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.futures-util]
version = "0.3"
[dependencies.idevice]
version = "=0.1.68"
features = [
"usbmuxd",
"tcp",
"core_device_proxy",
"rsd",
"xpc",
"core_device",
"display_stream",
"dvt",
"amfi",
"mobile_image_mounter",
"cryptexd",
"tss",
"heartbeat",
]
[dependencies.libc]
version = "0.2"
[dependencies.plist]
version = "1.8"
[dependencies.rand]
version = "0.9"
[dependencies.regex]
version = "1"
[dependencies.rquickjs]
version = "0.14"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.10"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.unicode-normalization]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tokio]
version = "1"
features = ["test-util"]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_System_Console",
]
[profile.release]
opt-level = 3
debug = 0
strip = true