Move everything into features

This commit is contained in:
Jackson Coxson
2025-01-26 16:01:13 -07:00
parent 312a95b187
commit ffed5aceb6
26 changed files with 1963 additions and 117 deletions

View File

@@ -1,58 +1,4 @@
[package]
name = "idevice"
description = "A Rust library to interact with services on iOS devices."
authors = ["Jackson Coxson"]
version = "0.1.9"
edition = "2021"
license = "MIT"
documentation = "https://docs.rs/idevice"
repository = "https://github.com/jkcoxson/idevice"
keywords = ["lockdownd", "ios"]
[workspace]
[[bin]]
name = "ideviceinfo"
path = "src/tools/ideviceinfo.rs"
required-features = ["bin"]
[[bin]]
name = "heartbeat_client"
path = "src/tools/heartbeat_client.rs"
[[bin]]
name = "instproxy"
path = "src/tools/instproxy.rs"
[[bin]]
name = "mounter"
path = "src/tools/mounter.rs"
required-features = ["sha2", "ureq"]
[[bin]]
name = "core_device_proxy_tun"
path = "src/tools/core_device_proxy_tun.rs"
[dependencies]
tokio = { version = "1.43", features = ["io-util", "macros", "time", "full"] }
tokio-openssl = { version = "0.6" }
plist = { version = "1.7" }
serde = { version = "1", features = ["derive"] }
thiserror = { version = "2" }
log = { version = "0.4" }
env_logger = { version = "0.11" }
openssl = { version = "0.10" }
json = { version = "0.12" }
indexmap = { version = "2.7", features = ["serde"] }
uuid = { version = "1.12", features = ["serde"] }
async-recursion = { version = "1.1" }
base64 = { version = "0.22" }
byteorder = { version = "1.5" }
serde_json = { version = "1" }
tokio-tun = { version = "0.13" }
tun-rs = { version = "1.5", features = ["async"] }
# Binary dependencies
sha2 = { version = "0.10", optional = true }
ureq = { version = "3", optional = true }
[features]
bin = ["tokio/full", "sha2", "ureq"]
resolver = "2"
members = ["idevice", "tools"]