mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Remove optional tokio dependencies
This commit is contained in:
@@ -11,7 +11,7 @@ keywords = ["lockdownd", "ios"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.43", features = ["io-util", "macros", "time"] }
|
||||
tokio = { version = "1.43", features = ["io-util"] }
|
||||
tokio-openssl = { version = "0.6" }
|
||||
|
||||
plist = { version = "1.7" }
|
||||
@@ -48,7 +48,7 @@ afc = ["dep:chrono"]
|
||||
core_device_proxy = ["dep:serde_json", "dep:json", "dep:byteorder"]
|
||||
debug_proxy = []
|
||||
dvt = ["dep:byteorder", "dep:ns-keyed-archive"]
|
||||
heartbeat = []
|
||||
heartbeat = ["tokio/macros", "tokio/time"]
|
||||
installation_proxy = []
|
||||
sbservices = []
|
||||
misagent = []
|
||||
|
||||
@@ -33,10 +33,10 @@ pub struct FileInfo {
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct DeviceInfo {
|
||||
model: String,
|
||||
total_bytes: usize,
|
||||
free_bytes: usize,
|
||||
block_size: usize,
|
||||
pub model: String,
|
||||
pub total_bytes: usize,
|
||||
pub free_bytes: usize,
|
||||
pub block_size: usize,
|
||||
}
|
||||
|
||||
impl IdeviceService for AfcClient {
|
||||
|
||||
Reference in New Issue
Block a user