[package]
edition = "2021"
rust-version = "1.80"
name = "ios-core"
version = "0.1.7"
authors = ["oslo254804746"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level device API, pairing transport, and discovery for iOS devices"
readme = "README.md"
keywords = [
"ios",
"apple",
"mobile",
"usbmuxd",
"lockdown",
]
categories = [
"development-tools",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/oslo254804746/rust-ios-device"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
accessibility_audit = ["dtx"]
afc = []
amfi = []
apps = [
"dep:crc32fast",
"dep:zip",
]
arbitration = []
classic = [
"afc",
"apps",
"crashreport",
"diagnostics",
"file_relay",
"heartbeat",
"house_arrest",
"installation",
"mcinstall",
"mobileactivation",
"notificationproxy",
"profiles",
"screenshot",
"springboard",
"syslog",
]
companion = []
crashreport = ["afc"]
debugserver = []
default = []
developer = [
"accessibility_audit",
"amfi",
"debugserver",
"dproxy",
"dtx",
"fetchsymbols",
"imagemounter",
"instruments",
"pcap",
"testmanager",
"webinspector",
]
deviceinfo = []
diagnostics = []
diagnosticsservice = [
"tunnel",
"mdns",
]
dproxy = ["dtx"]
dtx = ["lz4_flex"]
fetchsymbols = []
file_relay = []
fileservice = []
full = [
"classic",
"developer",
"ios17",
"management",
"ostrace",
"supervised-pair",
"tunnel-kernel",
]
heartbeat = []
house_arrest = ["afc"]
idam = []
imagemounter = [
"dep:reqwest",
"dep:zip",
]
installation = ["apps"]
instruments = ["dtx"]
ios17 = [
"apps",
"deviceinfo",
"diagnosticsservice",
"dproxy",
"fileservice",
"instruments",
"testmanager",
"mdns",
"tunnel-userspace",
]
management = [
"arbitration",
"companion",
"idam",
"misagent",
"power_assertion",
"preboard",
"prepare",
"restore",
]
mcinstall = []
mdns = ["dep:mdns-sd"]
misagent = []
mobileactivation = []
notificationproxy = []
ostrace = []
pcap = []
power_assertion = []
preboard = []
prepare = [
"afc",
"mcinstall",
"supervised-pair",
]
profiles = [
"mcinstall",
"misagent",
]
restore = []
screenshot = []
springboard = []
supervised-pair = ["dep:openssl"]
syslog = []
testmanager = ["dtx"]
tunnel = [
"dep:openssl",
"dep:tokio-openssl",
]
tunnel-kernel = [
"tunnel",
"dep:tun-rs",
]
tunnel-userspace = [
"tunnel",
"dep:smoltcp",
]
webinspector = []
[lib]
name = "ios_core"
path = "src/lib.rs"
[[test]]
name = "accessibility_audit"
path = "tests/accessibility_audit.rs"
[[test]]
name = "backup2"
path = "tests/backup2.rs"
[[test]]
name = "debugserver"
path = "tests/debugserver.rs"
[[test]]
name = "fetchsymbols"
path = "tests/fetchsymbols.rs"
[[test]]
name = "ostrace"
path = "tests/ostrace.rs"
[[test]]
name = "prepare"
path = "tests/prepare.rs"
[[test]]
name = "testmanager"
path = "tests/testmanager.rs"
[[test]]
name = "webinspector"
path = "tests/webinspector.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-stream]
version = "0.3"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.chacha20poly1305]
version = "0.10"
[dependencies.crc32fast]
version = "1"
optional = true
[dependencies.dirs-next]
version = "2"
[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.h2]
version = "0.4"
[dependencies.hex]
version = "0.4"
[dependencies.hkdf]
version = "0.12"
[dependencies.http]
version = "1"
[dependencies.indexmap]
version = "2"
[dependencies.lz4_flex]
version = "0.10"
optional = true
[dependencies.md5]
version = "0.7"
[dependencies.mdns-sd]
version = "0.11"
optional = true
[dependencies.num-bigint]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.openssl]
version = "0.10"
optional = true
[dependencies.p256]
version = "0.13"
[dependencies.plist]
version = "1"
[dependencies.quick-xml]
version = "0.38"
features = ["serialize"]
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
optional = true
default-features = false
[dependencies.rustls]
version = "0.23"
features = ["ring"]
[dependencies.rustls-pemfile]
version = "2"
[dependencies.semver]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_bytes]
version = "0.11"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.smoltcp]
version = "0.11"
features = [
"std",
"proto-ipv6",
"socket-tcp",
"async",
"medium-ip",
]
optional = true
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"parsing",
"local-offset",
]
[dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"macros",
"net",
"rt",
"sync",
"time",
]
[dependencies.tokio-openssl]
version = "0.6"
optional = true
[dependencies.tokio-rustls]
version = "0.26"
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[dependencies.tracing]
version = "0.1"
[dependencies.tun-rs]
version = "2"
features = ["async"]
optional = true
[dependencies.uuid]
version = "1"
features = ["v4"]
[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]
[dependencies.zerocopy]
version = "0.8"
features = ["derive"]
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dependencies.zip]
version = "2"
features = ["deflate"]
optional = true
default-features = false
[target."cfg(unix)".dependencies.libc]
version = "0.2"