mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Make UDID an optional field on pairing file
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -382,7 +382,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "idevice"
|
name = "idevice"
|
||||||
version = "0.1.3"
|
version = "0.1.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"env_logger",
|
"env_logger",
|
||||||
"log",
|
"log",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
name = "idevice"
|
name = "idevice"
|
||||||
description = "A Rust library to interact with services on iOS devices."
|
description = "A Rust library to interact with services on iOS devices."
|
||||||
authors = ["Jackson Coxson"]
|
authors = ["Jackson Coxson"]
|
||||||
version = "0.1.4"
|
version = "0.1.5"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
documentation = "https://docs.rs/idevice"
|
documentation = "https://docs.rs/idevice"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ pub struct PairingFile {
|
|||||||
pub host_id: String,
|
pub host_id: String,
|
||||||
pub escrow_bag: Vec<u8>,
|
pub escrow_bag: Vec<u8>,
|
||||||
pub wifi_mac_address: String,
|
pub wifi_mac_address: String,
|
||||||
pub udid: String,
|
pub udid: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||||
@@ -40,7 +40,7 @@ struct RawPairingFile {
|
|||||||
#[serde(rename = "WiFiMACAddress")]
|
#[serde(rename = "WiFiMACAddress")]
|
||||||
wifi_mac_address: String,
|
wifi_mac_address: String,
|
||||||
#[serde(rename = "UDID")]
|
#[serde(rename = "UDID")]
|
||||||
udid: String,
|
udid: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PairingFile {
|
impl PairingFile {
|
||||||
|
|||||||
Reference in New Issue
Block a user