From 54caafb4da6fd5bfcbc3400fc683c897ce1f47bb Mon Sep 17 00:00:00 2001 From: Jackson Coxson Date: Thu, 14 Aug 2025 13:34:43 -0600 Subject: [PATCH] Include std and tls12 in rustls This fixes FFI somehow. --- idevice/Cargo.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/idevice/Cargo.toml b/idevice/Cargo.toml index 8eafae5..1102aca 100644 --- a/idevice/Cargo.toml +++ b/idevice/Cargo.toml @@ -13,8 +13,11 @@ keywords = ["lockdownd", "ios"] [dependencies] tokio = { version = "1.43", features = ["io-util"] } tokio-rustls = { version = "0.26", default-features = false } -rustls = { version = "0.23", default-features = false } -crossfire = { version = "2.0", optional = true } # TODO: update to 2.1 when it comes out +rustls = { version = "0.23", default-features = false, features = [ + "std", + "tls12", +] } +crossfire = { version = "2.0", optional = true } # TODO: update to 2.1 when it comes out plist = { version = "1.7" } serde = { version = "1", features = ["derive"] } @@ -126,4 +129,3 @@ full = [ [package.metadata.docs.rs] all-features = true -