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