Remove optional tokio dependencies

This commit is contained in:
Jackson Coxson
2025-04-05 12:45:55 -06:00
parent 12f2a22b1e
commit 463527a6be
2 changed files with 6 additions and 6 deletions

View File

@@ -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 = []

View File

@@ -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 {