Skip to content

Control a real USB-connected iPhone from Linux (no Mac, no paid developer account) and expose it to AI agents as MCP tools

2.0 KB
Raw Blame
# vendored from Impactor v2.7.2 (b13d995);本仓库只把 workspace 继承改成了显式版本,源码未改
[package]
name = "plume_core"
description = "Core library for Impactor tools."
edition = "2024"
version = "2.7.2"
authors = ["khcrysalis"]
license = "MPL-2.0"
repository = "https://github.com/claration/impactor"

[dependencies]
tokio = { version = "1.43", features = ["rt-multi-thread"] }
plist = "1.8"
uuid = { version = "1.3", features = ["v4", "fast-rng", "macro-diagnostics"] }
thiserror = "2.0"
log = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
rustls = { version = "0.23", default-features = false, features = [ "std", "tls12", "ring", ] }
goblin = "0.9"
regex = "1.11"
reqwest = { version = "0.13", default-features = false, features = [ "blocking", "json", "rustls-no-provider", "gzip", "system-proxy", ] }
base64 = "0.22"
hex = "0.4"
rand = "0.8"
sha2 = "0.11"
# Cryptography
aes = "0.9"
aes-gcm = "0.11.0-rc.3"
cbc = { version = "0.2", features = ["alloc"] }
pbkdf2 = "0.13"
hmac = "0.13"
rsa = "0.9"
# Certificates
x509-certificate = "0.24"
pem = "3.0"
pem-rfc7468 = "0.7"
rcgen = { version = "0.14", default-features = false, features = ["ring", "pem"] }
sha1 = "0.10"             # p12
p12-keystore = "0.2"      # p12 crate only supports legacy PKCS#12
# Forks
apple-codesign = { version = "0.29.0", default-features = false }
# 本仓库改动:只要远程 anisette(不编本地 anisette 和 remove-async-await,见 THIRD_PARTY.md)
omnisette = { path = "../omnisette", default-features = false, features = [
    "remote-anisette",
    "remote-anisette-v3",
] }
srp = "0.7.0-rc.1"

# There is a bug in rustls-platform-verifier that causes an invalid certificate error with apple's root cert.
# It has been fixed already but I am waiting for a new release before I can update the dependency.
# Using native-tls avoids the issue.
[target.'cfg(windows)'.dependencies]
reqwest = { version = "0.13", features = [
    "json",
    "gzip",
    "native-tls",
    "system-proxy",
] }

[features]
default = []
tweaks = []