diff --git a/Cargo.lock b/Cargo.lock index 231adca..a5cb0d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -382,7 +382,7 @@ dependencies = [ [[package]] name = "idevice" -version = "0.1.3" +version = "0.1.5" dependencies = [ "env_logger", "log", diff --git a/Cargo.toml b/Cargo.toml index 3627d5a..e0849c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "idevice" description = "A Rust library to interact with services on iOS devices." authors = ["Jackson Coxson"] -version = "0.1.4" +version = "0.1.5" edition = "2021" license = "MIT" documentation = "https://docs.rs/idevice" diff --git a/src/pairing_file.rs b/src/pairing_file.rs index 148ede0..8861167 100644 --- a/src/pairing_file.rs +++ b/src/pairing_file.rs @@ -21,7 +21,7 @@ pub struct PairingFile { pub host_id: String, pub escrow_bag: Vec, pub wifi_mac_address: String, - pub udid: String, + pub udid: Option, } #[derive(Serialize, Deserialize, Debug, Clone)] @@ -40,7 +40,7 @@ struct RawPairingFile { #[serde(rename = "WiFiMACAddress")] wifi_mac_address: String, #[serde(rename = "UDID")] - udid: String, + udid: Option, } impl PairingFile {